/*
Theme Name: Lagoon Edit
Theme URI: https://lagoonedit.com/
Author: Lagoon Edit
Description: An editorial theme for luxury island guides. Pages descend from the shallows to deep water as you scroll.
Version: 2.1.0
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: islandfolio
*/

@font-face {
	font-display: swap;
	font-family: "Fraunces";
	font-style: normal;
	font-weight: 400 700;
	src: url("assets/fonts/fraunces-latin.woff2") format("woff2");
}

@font-face {
	font-display: swap;
	font-family: "Figtree";
	font-style: normal;
	font-weight: 400 700;
	src: url("assets/fonts/figtree-latin.woff2") format("woff2");
}

/* ==========================================================================
   Tokens
   Clean white with cool mist surfaces, then lagoon and the deep channel teal
   of the logo for the lower sections. The palette follows water depth, from
   salt-white shallows to the deep
   channel teal of the logo. Gold, taken from the logo's sun, is reserved for
   booking actions and first-hand "Visited" marks.
   ========================================================================== */

:root {
	--salt: #ffffff;
	--shallow: #f2f5f5;
	--reef: #e8eeee;
	--lagoon: #0f5f62;
	--channel: #0a3d42;
	--abyss: #06272b;
	--ink: #112b2f;
	--muted: #4b6467;
	--line: #e0e6e6;
	--link: #0d6466;
	--gold: #cba66b;
	--gold-deep: #7a5c2e;
	--white: #fff;

	--font-display: "Fraunces", Georgia, "Times New Roman", serif;
	--font-body: "Figtree", "Segoe UI", system-ui, sans-serif;

	--wide: 76rem;
	--measure: 42rem;
	--gutter: clamp(1rem, 4vw, 2.5rem);
	--band: clamp(3.5rem, 8vw, 6.5rem);
	--radius: 3px;
	/* Buttons, chips and tabs share one shape and two heights everywhere. */
	--radius-pill: 999px;
	--button-height: 3rem;
	--button-height-small: 2.5rem;
	--header-height: 4.5rem;
	/* Space the visible header takes; 0 while it is tucked away on scroll down. */
	--header-offset: var(--header-height);

	/* Names used by the newsletter popup stylesheet. */
	--color-cream: var(--salt);
	--color-border: var(--line);
	--color-sand: var(--gold);
	--color-forest: var(--channel);
	--color-forest-dark: var(--abyss);
	--color-ink: var(--ink);
	--color-muted: var(--muted);
	--color-white: var(--white);
	--radius-small: var(--radius-pill);
	--radius-medium: 6px;
}

/* ==========================================================================
   Base
   ========================================================================== */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
	margin: 0;
	background: var(--salt);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

@media (min-width: 60rem) {
	body {
		font-size: 1.125rem;
	}
}

img,
svg,
video {
	display: block;
	max-width: 100%;
	height: auto;
}

h1,
h2,
h3,
h4 {
	margin: 0 0 0.5em;
	color: var(--channel);
	font-family: var(--font-display);
	font-optical-sizing: auto;
	font-weight: 600;
	letter-spacing: -0.015em;
	line-height: 1.12;
}

h1 {
	font-size: clamp(2.4rem, 5.2vw, 4rem);
	line-height: 1.04;
}

h2 {
	font-size: clamp(1.75rem, 3.2vw, 2.6rem);
}

h3 {
	font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
	margin: 0 0 1.25em;
	text-wrap: pretty;
}

/*
 * Base link colours use :where() so they carry no extra weight: any component
 * that sets its own link colour (white text on photos, buttons, cards) keeps
 * it on hover instead of being turned dark teal by this rule.
 */
:where(a) {
	color: var(--link);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

:where(a):hover {
	color: var(--channel);
	text-decoration-thickness: 2px;
}

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

.depth-lagoon :focus-visible,
.depth-channel :focus-visible,
.site-footer :focus-visible,
.home-hero :focus-visible {
	outline-color: var(--gold);
}

::selection {
	background: var(--reef);
	color: var(--channel);
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	top: -10rem;
	left: 1rem;
	z-index: 1000;
	padding: 0.75rem 1rem;
	background: var(--channel);
	color: var(--white);
}

.skip-link:focus {
	top: 1rem;
}

.wrap {
	width: min(100% - 2 * var(--gutter), var(--wide));
	margin-inline: auto;
}

.content-wrap {
	width: min(100% - 2 * var(--gutter), var(--measure));
	margin-inline: auto;
}

.wide-wrap {
	width: min(100% - 2 * var(--gutter), var(--wide));
	margin-inline: auto;
}

.section {
	padding-block: clamp(2.5rem, 6vw, 4.5rem);
}

.coordinates {
	color: var(--muted);
	font-size: 0.8125rem;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.02em;
}

/* ==========================================================================
   Buttons and links
   ========================================================================== */

.button,
.wp-block-button__link {
	display: inline-flex;
	max-width: 100%;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	min-height: var(--button-height);
	padding: 0.7rem 1.5rem;
	border: 1px solid var(--channel);
	border-radius: var(--radius-pill);
	background: var(--channel);
	color: var(--white);
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.button:hover,
.wp-block-button__link:hover {
	border-color: var(--abyss);
	background: var(--abyss);
	color: var(--white);
}

.button--small {
	min-height: var(--button-height-small);
	padding: 0.45rem 1.1rem;
	font-size: 0.9375rem;
}

.button--outline {
	border-color: var(--channel);
	background: transparent;
	color: var(--channel);
}

.button--outline:hover {
	border-color: var(--channel);
	background: var(--channel);
	color: var(--white);
}



.button--light {
	border-color: var(--white);
	background: var(--white);
	color: var(--channel);
}

.button--light:hover {
	border-color: var(--shallow);
	background: var(--shallow);
	color: var(--channel);
}

.button--outline-light {
	border-color: rgb(255 255 255 / 70%);
	background: transparent;
	color: var(--white);
}

.button--outline-light:hover {
	border-color: var(--white);
	background: rgb(255 255 255 / 12%);
	color: var(--white);
}

.text-link {
	color: var(--link);
	font-weight: 600;
	text-decoration: underline;
}

.text-link--light,
.depth-lagoon .text-link,
.depth-channel .text-link {
	color: var(--white);
}

.text-link:hover,
.text-button:hover,
.mobile-drawer-level-all:hover,
.article-disclosure a:hover {
	color: var(--channel);
	text-decoration-thickness: 2px;
}

.text-link--light:hover,
.depth-lagoon .text-link:hover,
.depth-channel .text-link:hover {
	color: rgb(255 255 255 / 85%);
}

.text-button {
	padding: 0;
	border: 0;
	background: none;
	color: var(--link);
	font: inherit;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 0.2em;
	cursor: pointer;
}

/* ==========================================================================
   Header and navigation
   ========================================================================== */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	border-bottom: 1px solid rgb(10 61 66 / 8%);
	background: rgb(255 255 255 / 72%);
	-webkit-backdrop-filter: saturate(1.8) blur(18px);
	backdrop-filter: saturate(1.8) blur(18px);
	transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.25s ease, border-color 0.25s ease;
}

/* Browsers without backdrop blur get a near-solid bar so the menu stays readable. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.site-header,
	.site-header--overlay.is-solid {
		background: rgb(255 255 255 / 96%);
	}
}

/* Tucks away while reading down the page and comes back on any scroll up. */
.site-header.is-hidden {
	transform: translateY(calc(-100% - 1px));
}

html.header-is-hidden {
	--header-offset: 0px;
}

.admin-bar .site-header {
	top: 32px;
}

/*
 * Homepage: the header floats over the hero photo with a white logo and menu,
 * then turns to frosted glass once the reader scrolls.
 */
.site-header--overlay {
	position: fixed;
	right: 0;
	left: 0;
	border-bottom-color: rgb(255 255 255 / 18%);
	background: transparent;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}

.site-header--overlay.is-solid {
	border-bottom-color: rgb(10 61 66 / 8%);
	background: rgb(255 255 255 / 72%);
	-webkit-backdrop-filter: saturate(1.8) blur(18px);
	backdrop-filter: saturate(1.8) blur(18px);
}

.site-header--overlay:not(.is-solid) .site-branding img {
	filter: brightness(0) invert(1);
}

.site-header--overlay:not(.is-solid) .site-title,
.site-header--overlay:not(.is-solid) .desktop-nav .menu > li > a {
	color: var(--white);
}

.site-header--overlay:not(.is-solid) .desktop-nav .menu > li > a:hover {
	color: rgb(255 255 255 / 78%);
}

.site-header--overlay:not(.is-solid) .header-cta {
	border-color: rgb(255 255 255 / 75%);
	color: var(--white);
}

.site-header--overlay:not(.is-solid) .header-cta:hover {
	border-color: var(--white);
	background: var(--white);
	color: var(--channel);
}

.site-header--overlay:not(.is-solid) .mobile-nav-toggle {
	border-color: rgb(255 255 255 / 45%);
	color: var(--white);
}

.site-header--overlay :focus-visible {
	outline-color: var(--gold);
}

@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 0;
	}
}

.header-inner {
	position: relative;
	display: flex;
	align-items: center;
	gap: 1.5rem;
	min-height: var(--header-height);
}

.site-branding {
	flex: 0 0 auto;
	margin-right: auto;
}

.site-branding a {
	display: block;
}

.site-branding img {
	width: auto;
	height: 1.5rem;
}

@media (min-width: 40rem) {
	.site-branding img {
		height: 1.8rem;
	}
}

.site-title {
	color: var(--channel);
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1.5rem;
}

.header-cta {
	display: none;
	white-space: nowrap;
}

.desktop-nav {
	display: none;
}

.desktop-nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.desktop-nav .menu {
	display: flex;
	align-items: center;
	gap: 0.15rem;
}

/* Top level: a soft pill behind the label on hover and while its panel is open. */
.desktop-nav .menu > li > a {
	position: relative;
	z-index: 0;
	display: flex;
	align-items: center;
	gap: 0.4rem;
	min-height: var(--header-height);
	padding: 0 0.85rem;
	color: var(--ink);
	font-size: 0.9688rem;
	font-weight: 500;
	text-decoration: none;
	transition: color 0.15s ease;
}

.desktop-nav .menu > li > a::before {
	content: "";
	position: absolute;
	inset: calc(50% - 1.2rem) 0.15rem;
	z-index: -1;
	border-radius: var(--radius-pill);
	background: var(--shallow);
	opacity: 0;
	transform: scale(0.92);
	transition: opacity 0.18s ease, transform 0.18s ease;
}

.desktop-nav .menu > li:hover > a::before,
.desktop-nav .menu > li:focus-within > a::before {
	opacity: 1;
	transform: none;
}

.desktop-nav .menu > li > a:hover,
.desktop-nav .menu > li:focus-within > a,
.desktop-nav .menu > .current-menu-item > a,
.desktop-nav .menu > .current-menu-ancestor > a {
	color: var(--channel);
}

.desktop-nav .menu > .current-menu-item > a::after,
.desktop-nav .menu > .current-menu-ancestor:not(.menu-item-has-children) > a::after {
	content: "";
	position: absolute;
	bottom: calc(50% - 1rem);
	left: 50%;
	width: 4px;
	height: 4px;
	margin-left: -2px;
	border-radius: 50%;
	background: var(--gold);
}

.desktop-nav .menu > .menu-item-has-children > a::after {
	content: "";
	width: 0.38rem;
	height: 0.38rem;
	margin-top: -0.2rem;
	border-right: 1.5px solid currentcolor;
	border-bottom: 1.5px solid currentcolor;
	transform: rotate(45deg);
	transition: transform 0.2s ease, margin 0.2s ease;
}

.desktop-nav .menu > .menu-item-has-children:hover > a::after,
.desktop-nav .menu > .menu-item-has-children:focus-within > a::after {
	margin-top: 0.2rem;
	transform: rotate(-135deg);
}

/* Panels: floating cards that fade and lift into place. */
.desktop-nav .menu > li > .sub-menu {
	position: absolute;
	top: calc(100% - 0.6rem);
	z-index: 60;
	min-width: 16rem;
	padding: 0.5rem;
	border: 1px solid var(--line);
	border-radius: 1rem;
	background: var(--white);
	box-shadow: 0 1.75rem 3.5rem -1.5rem rgb(6 39 43 / 30%), 0 0.25rem 0.75rem -0.25rem rgb(6 39 43 / 8%);
	opacity: 0;
	visibility: hidden;
	transform: translateY(0.5rem);
	transition: opacity 0.18s ease, transform 0.2s ease, visibility 0s linear 0.2s;
}

/* An invisible bridge above the card keeps it open while the pointer travels down. */
.desktop-nav .menu > li > .sub-menu::before {
	content: "";
	position: absolute;
	right: 0;
	bottom: 100%;
	left: 0;
	height: 1rem;
}

.desktop-nav .menu > li:hover > .sub-menu,
.desktop-nav .menu > li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition-delay: 0s;
}

.desktop-nav .sub-menu a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.6rem 0.8rem;
	border-radius: 0.6rem;
	color: var(--ink);
	font-size: 0.9375rem;
	font-weight: 500;
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.desktop-nav .sub-menu a::after {
	content: "→";
	color: var(--lagoon);
	font-size: 0.875rem;
	opacity: 0;
	transform: translateX(-0.3rem);
	transition: opacity 0.15s ease, transform 0.15s ease;
}

.desktop-nav .sub-menu a:hover,
.desktop-nav .sub-menu a:focus-visible {
	background: var(--shallow);
	color: var(--channel);
}

.desktop-nav .sub-menu a:hover::after,
.desktop-nav .sub-menu a:focus-visible::after {
	opacity: 1;
	transform: none;
}

.desktop-nav .sub-menu .current-menu-item > a {
	color: var(--lagoon);
	font-weight: 600;
}

/* Destinations: a full-width panel with every region as a column, plus the finder card. */
.desktop-nav .menu > li:has(> .sub-menu > li > .sub-menu) > .sub-menu {
	right: 0;
	left: 0;
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr)) minmax(0, 1.25fr);
	gap: 0.5rem 1.25rem;
	padding: 1.5rem;
	border-radius: 1.25rem;
}

.desktop-nav .sub-menu .sub-menu {
	position: static;
	min-width: 0;
	padding: 0;
	border: 0;
	box-shadow: none;
}

.desktop-nav .sub-menu > li:has(> .sub-menu) > a {
	margin-bottom: 0.35rem;
	padding: 0.55rem 0.8rem 0.6rem;
	color: var(--channel);
	font-family: var(--font-display);
	font-size: 1.1rem;
	font-weight: 600;
}

.desktop-nav .sub-menu > li:has(> .sub-menu) {
	position: relative;
	padding-bottom: 0.25rem;
}

.desktop-nav .sub-menu > li:has(> .sub-menu) + li:has(> .sub-menu)::before {
	content: "";
	position: absolute;
	top: 0.5rem;
	bottom: 0.5rem;
	left: -0.65rem;
	width: 1px;
	background: var(--line);
}

.desktop-nav .sub-menu .sub-menu a {
	padding-block: 0.4rem;
	font-size: 0.9375rem;
}

.desktop-nav .sub-menu > li > .sub-menu > li > .sub-menu {
	margin: 0 0 0.25rem 0.8rem;
	padding-left: 0.4rem;
	border-left: 2px solid var(--reef);
}

.desktop-nav .sub-menu .sub-menu .sub-menu a {
	padding-block: 0.3rem;
	color: var(--muted);
	font-size: 0.875rem;
	font-weight: 400;
}

/* The finder card closing the Destinations panel. */
.desktop-nav .sub-menu > li.menu-promo {
	display: flex;
}

.desktop-nav .sub-menu > li.menu-promo > a {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 0.35rem;
	width: 100%;
	padding: 1.25rem;
	border-radius: 0.9rem;
	background:
		radial-gradient(120% 80% at 100% 0%, rgb(203 166 107 / 28%), transparent 60%),
		var(--channel);
	color: rgb(255 255 255 / 82%);
}

.desktop-nav .sub-menu > li.menu-promo > a::after {
	display: none;
}

.desktop-nav .sub-menu > li.menu-promo > a:hover {
	background:
		radial-gradient(120% 80% at 100% 0%, rgb(203 166 107 / 38%), transparent 60%),
		var(--abyss);
	color: rgb(255 255 255 / 90%);
}


.menu-promo-title {
	color: var(--white);
	font-family: var(--font-display);
	font-size: 1.35rem;
	font-weight: 500;
	line-height: 1.15;
}

.menu-promo-text {
	font-size: 0.875rem;
	font-weight: 400;
	line-height: 1.45;
}

.menu-promo-cta {
	display: inline-flex;
	align-items: center;
	margin-top: auto;
	padding-top: 0.75rem;
	color: var(--white);
	font-size: 0.875rem;
	font-weight: 600;
}

.menu-promo-cta::after {
	content: "→";
	margin-left: 0.4rem;
	transition: transform 0.15s ease;
}

.desktop-nav .menu-promo a:hover .menu-promo-cta::after {
	transform: translateX(0.25rem);
}

@media (prefers-reduced-motion: reduce) {
	.desktop-nav .menu > li > .sub-menu,
	.desktop-nav .menu > li > a::before,
	.desktop-nav .sub-menu a::after {
		transition: none;
	}
}

.site-header--overlay:not(.is-solid) .desktop-nav .menu > li > a::before {
	background: rgb(255 255 255 / 16%);
}

/* Sticky rails and headings slide up with the header when it tucks away. */
.article-rail,
.island-region-heading,
.contact-topics,
.about-story-inner.has-portrait .about-portrait,
.about-story-body > h2:first-child,
.plan-topic-heading,
.region-heading,
.cost-calc-result {
	transition: top 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: reduce) {
	.site-header,
	.article-rail,
	.island-region-heading,
	.contact-topics,
	.about-story-inner.has-portrait .about-portrait,
	.about-story-body > h2:first-child,
	.plan-topic-heading,
	.region-heading,
	.cost-calc-result {
		transition: none;
	}
}

/*
 * Mobile menu: a drawer that slides in from the right and leaves a strip of
 * the page visible on the left, which closes it on tap. Sub-menus slide in as
 * their own levels with a back button. Swipe right to close.
 */
.mobile-nav-toggle {
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 1px solid var(--line);
	border-radius: var(--radius-pill);
	background: transparent;
	color: var(--channel);
	cursor: pointer;
}

.mobile-nav-toggle:hover {
	border-color: var(--channel);
}

.mobile-drawer {
	position: fixed;
	inset: 0;
	z-index: 100000;
	visibility: hidden;
}

.mobile-drawer[hidden] {
	display: none;
}

.mobile-drawer.is-open {
	visibility: visible;
}

.mobile-drawer-backdrop {
	position: absolute;
	inset: 0;
	background: rgb(6 39 43 / 45%);
	opacity: 0;
	-webkit-backdrop-filter: blur(3px);
	backdrop-filter: blur(3px);
	transition: opacity 0.3s ease;
}

.mobile-drawer.is-open .mobile-drawer-backdrop {
	opacity: 1;
}

.mobile-drawer-panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	width: min(86vw, 25rem);
	background: var(--salt);
	box-shadow: -1.5rem 0 3rem -1.5rem rgb(6 39 43 / 40%);
	transform: translateX(100%);
	transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
	outline: none;
	overscroll-behavior: contain;
}

.mobile-drawer.is-open .mobile-drawer-panel {
	transform: translateX(0);
}

.mobile-drawer.is-dragging .mobile-drawer-panel {
	transition: none;
}

.admin-bar .mobile-drawer-panel {
	top: var(--wp-admin--admin-bar--height, 0px);
}

.mobile-drawer-head {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: space-between;
	min-height: var(--header-height);
	padding: 0 var(--gutter) 0 1.5rem;
	border-bottom: 1px solid var(--line);
}

.mobile-drawer-brand {
	color: var(--channel);
	font-family: var(--font-display);
	font-size: 1.2rem;
	font-weight: 600;
	letter-spacing: 0.01em;
}

.mobile-drawer-brand {
	text-decoration: none;
}

.mobile-drawer-logo {
	display: block;
	width: auto;
	height: 1.6rem;
}

.mobile-drawer-close {
	display: grid;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--shallow);
	color: var(--channel);
	cursor: pointer;
}

.mobile-drawer-close:hover {
	background: var(--reef);
}

/* Levels: the top menu and each sub-menu fill the same viewport. */
.mobile-drawer-nav {
	position: relative;
	flex: 1;
	min-height: 0;
	overflow: hidden;
}

.mobile-drawer-nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mobile-drawer-nav > .menu,
.mobile-drawer-nav .sub-menu {
	position: absolute;
	inset: 0;
	overflow-y: auto;
	padding: 0.75rem 1.5rem 1.5rem;
	background: var(--salt);
	transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
	overscroll-behavior: contain;
}

.mobile-drawer-nav .sub-menu {
	z-index: 1;
	transform: translateX(100%);
	visibility: hidden;
}

.mobile-drawer-nav .sub-menu.is-active {
	transform: translateX(0);
	visibility: visible;
}

.mobile-drawer-nav .is-behind,
.mobile-drawer-nav .sub-menu.is-active.is-behind {
	transform: translateX(-25%);
	opacity: 0;
}

.mobile-drawer-nav .menu-item {
	border-bottom: 1px solid var(--line);
}

.mobile-drawer-nav .menu-item > a,
.mobile-drawer-nav .mobile-drawer-next {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	width: 100%;
	min-height: 3.5rem;
	padding: 0.5rem 0;
	border: 0;
	background: none;
	color: var(--channel);
	font-family: var(--font-display);
	font-size: 1.35rem;
	font-weight: 500;
	text-align: left;
	text-decoration: none;
	cursor: pointer;
}

.mobile-drawer-nav .sub-menu .menu-item > a,
.mobile-drawer-nav .sub-menu .mobile-drawer-next {
	min-height: 3.1rem;
	font-family: var(--font-body);
	font-size: 1.0625rem;
	font-weight: 500;
}

.mobile-drawer-nav .current-menu-item > a,
.mobile-drawer-nav .current-menu-ancestor > .mobile-drawer-next {
	color: var(--lagoon);
}

.mobile-drawer-arrow {
	display: grid;
	flex: none;
	place-items: center;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	background: var(--shallow);
	color: var(--channel);
}

.mobile-drawer-level-head {
	position: sticky;
	top: -0.75rem;
	z-index: 1;
	margin: -0.75rem -1.5rem 0.25rem;
	padding: 0.75rem 1.5rem 0.75rem;
	border-bottom: 1px solid var(--line);
	background: var(--salt);
}

.mobile-drawer-back {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	min-height: 2.5rem;
	margin-left: -0.35rem;
	padding: 0 0.6rem 0 0.35rem;
	border: 0;
	border-radius: var(--radius-pill);
	background: none;
	color: var(--muted);
	font: 600 0.875rem/1 var(--font-body);
	cursor: pointer;
}

.mobile-drawer-back:hover {
	background: var(--shallow);
	color: var(--channel);
}

.mobile-drawer-level-title {
	margin: 0.35rem 0 0;
	color: var(--channel);
	font-family: var(--font-display);
	font-size: 1.6rem;
	font-weight: 500;
	line-height: 1.15;
}

.mobile-drawer-level-all {
	display: inline-block;
	margin-top: 0.35rem;
	color: var(--link);
	font-size: 0.9375rem;
	font-weight: 600;
}

.mobile-drawer-foot {
	flex: none;
	padding: 1.25rem 1.5rem calc(1.25rem + env(safe-area-inset-bottom));
	border-top: 1px solid var(--line);
	background: var(--shallow);
}

.mobile-drawer-cta.button {
	width: 100%;
}

.mobile-drawer-note {
	margin: 0.6rem 0 0;
	color: var(--muted);
	font-size: 0.8125rem;
	text-align: center;
}

.mobile-drawer-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.25rem 1.25rem;
	margin: 1rem 0 0;
	font-size: 0.875rem;
}

.mobile-drawer-links a {
	color: var(--muted);
	text-decoration: none;
}

.mobile-drawer-links a:hover {
	color: var(--channel);
}

html.has-drawer-open {
	overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
	.mobile-drawer-panel,
	.mobile-drawer-backdrop,
	.mobile-drawer-nav > .menu,
	.mobile-drawer-nav .sub-menu {
		transition: none;
	}
}


@media (min-width: 40rem) {
	.header-cta {
		display: inline-flex;
	}
}

@media (min-width: 72rem) {
	.desktop-nav {
		display: block;
	}

	.mobile-nav-toggle,
	.mobile-drawer {
		display: none;
	}

	/* Logo on the left; menu and "Find your island" grouped on the right. */
	.site-branding {
		margin-right: auto;
	}

	.desktop-nav {
		margin-right: -0.25rem;
	}
}

/* ==========================================================================
   Depth bands
   ========================================================================== */

.home-band {
	padding-block: var(--band);
}

.depth-salt {
	background: var(--salt);
}

.depth-salt + .depth-salt {
	padding-top: 0;
}

.depth-shallow {
	background: var(--shallow);
}

.depth-reef {
	background: var(--shallow);
}

.depth-lagoon {
	background: var(--lagoon);
	color: rgb(255 255 255 / 88%);
}

.depth-channel {
	background: var(--channel);
	color: rgb(255 255 255 / 82%);
}

.depth-lagoon h2,
.depth-lagoon h3,
.depth-channel h2,
.depth-channel h3 {
	color: var(--white);
}

.band-heading {
	display: grid;
	gap: 0.5rem;
	max-width: 46rem;
	margin-bottom: clamp(2rem, 4vw, 3rem);
}

.band-heading h2 {
	margin: 0;
}

.band-heading p {
	margin: 0;
	color: var(--muted);
	font-size: 1.0625rem;
}

.band-more {
	margin: clamp(2rem, 4vw, 2.75rem) 0 0;
}

/* ==========================================================================
   Homepage
   ========================================================================== */

.home-hero {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: max(36rem, 100svh);
	text-align: center;
	overflow: hidden;
	background: var(--channel);
	color: var(--white);
}

.home-hero-image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	animation: hero-zoom 16s cubic-bezier(0.2, 0.6, 0.35, 1) both;
}

/* One slow settle as the page loads; the photo ends at its natural framing. */
@keyframes hero-zoom {
	from {
		transform: scale(1.12);
	}

	to {
		transform: scale(1);
	}
}

@media (prefers-reduced-motion: reduce) {
	.home-hero-image {
		animation: none;
	}
}

@media (max-width: 47.99rem) {
	.home-hero {
		min-height: min(76svh, 38rem);
	}

	.home-hero-inner {
		padding-block: calc(var(--header-height) + 1.25rem) 2.5rem;
	}

	.home-hero-title {
		font-size: clamp(2.35rem, 10vw, 3.25rem);
	}

	.home-hero-lede {
		font-size: 1rem;
	}
}

.home-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	/* Darker at the top for the transparent header, even behind the centred text. */
	background:
		linear-gradient(to bottom, rgb(6 39 43 / 55%) 0%, rgb(6 39 43 / 0%) 22%),
		radial-gradient(ellipse 70% 55% at 50% 52%, rgb(6 39 43 / 42%) 0%, rgb(6 39 43 / 12%) 100%);
}

.home-hero-inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-block: calc(var(--header-height) + 2rem) clamp(3rem, 8vw, 5rem);
}

.home-hero-title {
	margin-inline: auto;
	margin-bottom: 1.5rem;
	text-shadow: 0 2px 24px rgb(6 39 43 / 35%);
	color: var(--white);
	font-size: clamp(2.4rem, 4.6vw, 4.25rem);
	font-weight: 600;
	letter-spacing: -0.03em;
	line-height: 0.98;
}

/* "Island Destinations" always takes the second line on its own. */
.home-hero-title-part.is-last {
	display: block;
	white-space: nowrap;
}

/* Phones: three short lines at a larger size, "Explore the / World's Finest / Island Destinations". */
@media (max-width: 39.99rem) {
	.home-hero-title {
		/* "Island Destinations" is about 8.6em wide: size it to fill the phone's width. */
		max-width: 100%;
		font-size: min(calc((100vw - 2.25rem) / 8.8), 3rem);
		line-height: 1.02;
	}

	.home-hero-title-part {
		display: block;
		white-space: nowrap;
	}
}

.home-hero-lede {
	max-width: 36rem;
	margin-inline: auto;
	margin-bottom: 2rem;
	text-shadow: 0 1px 12px rgb(6 39 43 / 45%);
	color: rgb(255 255 255 / 90%);
	font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
}

.home-hero-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
}

/* Matchup board: pick a pairing, see the head-to-head card. */
/* Section heading with its action button: top-right on wide screens, last on phones. */
.band-layout {
	display: grid;
	grid-template-areas: "heading" "body" "action";
}

.band-layout > .band-heading {
	grid-area: heading;
}

.band-layout > :not(.band-heading):not(.band-action) {
	grid-area: body;
	min-width: 0;
}

.band-action {
	grid-area: action;
	justify-self: stretch;
	margin-top: 1.75rem;
}

@media (min-width: 48rem) {
	.band-layout {
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-areas: "heading action" "body body";
		column-gap: 2rem;
	}

	.band-action {
		align-self: end;
		justify-self: end;
		margin: 0 0 clamp(2rem, 4vw, 3rem);
	}
}

.chip-tabs {
	display: flex;
	gap: 0.5rem;
	margin: 0 calc(-1 * var(--gutter)) 1.5rem;
	padding: 0.25rem var(--gutter) 0.5rem;
	overflow-x: auto;
	scroll-padding-inline: var(--gutter);
	scroll-snap-type: x proximity;
	scrollbar-width: none;
}

.chip-tabs::-webkit-scrollbar {
	display: none;
}

[data-tabs]:not(.is-ready) .chip-tabs {
	display: none;
}

/* Tab panels: only the selected one shows once the script is running. */
[data-tabs].is-ready [role="tabpanel"][data-hidden] {
	display: none;
}

[data-tabs].is-ready [role="tabpanel"]:not([data-hidden]) {
	animation: matchup-in 0.4s ease both;
}

.chip-tab-count {
	display: inline-grid;
	place-items: center;
	min-width: 1.6rem;
	height: 1.35rem;
	padding: 0 0.4rem;
	border-radius: var(--radius-pill);
	background: var(--shallow);
	color: var(--muted);
	font-size: 0.75rem;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.chip-tab[aria-selected="true"] .chip-tab-count {
	background: rgb(255 255 255 / 18%);
	color: var(--white);
}

.chip-tab {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 0.3em;
	min-height: var(--button-height-small);
	padding: 0.45rem 1.1rem;
	border: 1px solid var(--line);
	border-radius: var(--radius-pill);
	background: var(--white);
	color: var(--ink);
	font: 600 0.9375rem/1.2 var(--font-body);
	white-space: nowrap;
	cursor: pointer;
	scroll-snap-align: start;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.chip-tab:hover {
	border-color: var(--channel);
}

.chip-tab-vs {
	color: var(--muted);
	font-weight: 500;
}

.chip-tab[aria-selected="true"] {
	border-color: var(--channel);
	background: var(--channel);
	color: var(--white);
}

.chip-tab[aria-selected="true"] .chip-tab-vs {
	color: var(--gold);
}

@media (min-width: 60rem) {
	.chip-tabs {
		flex-wrap: wrap;
		margin-inline: 0;
		padding-inline: 0;
		overflow: visible;
	}
}

.matchup {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 22px;
	background: var(--shallow);
	color: var(--ink);
}

.matchup + .matchup {
	margin-top: 1.5rem;
}

.matchups.is-ready .matchup + .matchup {
	margin-top: 0;
}



@keyframes matchup-in {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
}

.matchup-visual {
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	color: var(--white);
	text-decoration: none;
}

.matchup-image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.matchup-visual:hover .matchup-image {
	transform: scale(1.03);
}

.matchup-visual::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 75% 60% at 50% 50%, rgb(6 39 43 / 55%), rgb(6 39 43 / 20%));
}

.matchup-names {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.6rem;
	padding: 1.5rem;
	text-align: center;
}

.matchup-name {
	font-family: var(--font-display);
	font-size: clamp(1.9rem, 6vw, 3rem);
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1;
	text-shadow: 0 2px 20px rgb(6 39 43 / 45%);
}

.matchup-vs {
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 50%;
	background: var(--gold);
	color: var(--abyss);
	font-size: 0.9375rem;
	font-weight: 700;
	box-shadow: 0 0 0 6px rgb(203 166 107 / 25%);
}

.matchup-body {
	display: grid;
	align-content: center;
	gap: 1.25rem;
	padding: clamp(1.5rem, 4vw, 2.75rem);
}

.matchup-title {
	margin: 0;
	font-size: clamp(1.3rem, 2.2vw, 1.6rem);
	line-height: 1.2;
}

.matchup-title a {
	color: var(--channel);
	text-decoration: none;
}

.matchup-title a:hover {
	text-decoration: underline;
	text-decoration-thickness: 1px;
}

.matchup-rows {
	display: grid;
	margin: 0;
	padding: 0;
	list-style: none;
}

.matchup-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.3rem 1.25rem;
	padding-block: 0.85rem;
	border-top: 1px solid var(--line);
}

.matchup-row--head {
	padding-block: 0 0.6rem;
	border-top: 0;
	color: var(--gold-deep);
	font-size: 0.875rem;
	font-weight: 600;
}

.matchup-label {
	grid-column: 1 / -1;
	color: var(--muted);
	font-size: 0.8125rem;
	font-weight: 600;
}

.matchup-side {
	color: var(--ink);
	font-size: 0.9375rem;
	line-height: 1.45;
}

.matchup-side + .matchup-side {
	padding-left: 1.25rem;
	border-left: 1px solid var(--line);
}

.matchup-row--head span + span {
	padding-left: 1.25rem;
}

.matchup-rows--winner li {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 0.25rem 1rem;
	padding-block: 0.85rem;
	border-top: 1px solid var(--line);
}

.matchup-rows--winner .matchup-label {
	grid-column: auto;
	color: var(--channel);
	font-size: 1rem;
}

.matchup-winner {
	padding: 0.2rem 0.7rem;
	border-radius: 999px;
	background: var(--gold);
	color: var(--abyss);
	font-size: 0.8125rem;
	font-weight: 700;
}

.matchup-note {
	grid-column: 1 / -1;
	color: var(--muted);
	font-size: 0.9rem;
}

.matchup-dek {
	margin: 0;
}

.matchup-cta {
	justify-self: start;
}

/* The "Read the comparison" pill lives on the photo and only shows on phones. */
.matchup-visual-cta {
	display: none;
}

/*
 * Phones: each matchup is just the photo with the two names, so the board stays
 * short; the whole image links to the comparison.
 */
@media (max-width: 39.99rem) {
	.matchup {
		border: 0;
		background: transparent;
	}

	.matchup-body {
		display: none;
	}

	.matchup-visual {
		aspect-ratio: 5 / 4;
		border-radius: 22px;
	}

	.matchup-visual-cta {
		position: absolute;
		bottom: 1rem;
		left: 50%;
		z-index: 1;
		display: inline-flex;
		align-items: center;
		min-height: var(--button-height-small);
		padding: 0.45rem 1.1rem;
		border-radius: var(--radius-pill);
		background: var(--white);
		color: var(--channel);
		font-size: 0.9375rem;
		font-weight: 600;
		white-space: nowrap;
		transform: translateX(-50%);
	}
}

@media (min-width: 60rem) {
	.matchup {
		grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
		min-height: 28rem;
	}

	.matchup-visual {
		aspect-ratio: auto;
	}

	.matchup-names {
		flex-direction: row;
		gap: 1.25rem;
	}

	.matchup-name {
		font-size: clamp(1.8rem, 2.6vw, 2.5rem);
		white-space: nowrap;
	}
}

/* Islands we cover: one row per region, image cards with the name on the photo. */
.island-regions {
	display: grid;
}

.island-region {
	display: grid;
	gap: 1.1rem;
	padding-block: 1.75rem;
	border-top: 1px solid var(--line);
}

.island-region:first-child {
	padding-top: 0;
	border-top: 0;
}

.island-region-heading {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.25rem 1rem;
}

.island-region-name {
	margin: 0;
	font-size: clamp(1.35rem, 2vw, 1.6rem);
}

.island-region-name a {
	color: inherit;
	text-decoration: none;
}

.island-region-name a:hover {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.15em;
}

.island-region-count {
	margin: 0;
	color: var(--muted);
	font-size: 0.875rem;
}

/* Phones: each region scrolls sideways with the next card peeking in. */
.island-grid {
	display: grid;
	grid-auto-columns: 44%;
	grid-auto-flow: column;
	gap: 0.85rem;
	margin: 0 calc(-1 * var(--gutter));
	padding: 0 var(--gutter) 0.25rem;
	overflow-x: auto;
	list-style: none;
	scroll-padding-inline: var(--gutter);
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.island-grid::-webkit-scrollbar {
	display: none;
}

.island-card {
	min-width: 0;
	scroll-snap-align: start;
}

.island-card a {
	position: relative;
	display: block;
	aspect-ratio: var(--card-ratio, 4 / 5);
	overflow: hidden;
	border-radius: 18px;
	background: var(--shallow);
	color: var(--white);
	text-decoration: none;
	isolation: isolate;
}

.island-card-media {
	position: absolute;
	inset: 0;
	z-index: -2;
	background: var(--shallow) center / cover no-repeat;
	transition: transform 0.6s ease;
}

.island-card a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	/* Deep enough behind the text to stay legible on bright lagoon and sky photos. */
	background: linear-gradient(to top, rgb(6 39 43 / 88%) 0%, rgb(6 39 43 / 62%) 28%, rgb(6 39 43 / 22%) 52%, rgb(6 39 43 / 0%) 72%);
}

.island-card a:hover .island-card-media {
	transform: scale(1.05);
}


.island-card-text {
	position: absolute;
	right: 0.85rem;
	bottom: 0.85rem;
	left: 0.85rem;
	display: grid;
	gap: 0.15rem;
}

.island-card-name {
	font-family: var(--font-display);
	font-size: clamp(1.15rem, 2.2vw, 1.75rem);
	font-weight: 600;
	letter-spacing: -0.015em;
	line-height: 1.1;
	text-shadow: 0 1px 2px rgb(6 39 43 / 55%), 0 2px 18px rgb(6 39 43 / 45%);
}

.island-card-count {
	color: rgb(255 255 255 / 90%);
	font-size: 0.8125rem;
	text-shadow: 0 1px 2px rgb(6 39 43 / 55%);
	font-weight: 500;
}

.island-card a:focus-visible {
	outline: 2px solid var(--link);
	outline-offset: 3px;
}

/* Wider screens: a regular grid, with short rows spreading wider cards. */
@media (min-width: 48rem) {
	.island-grid {
		grid-auto-flow: row;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		margin: 0;
		padding: 0;
		overflow: visible;
		gap: 1rem;
	}

	.island-grid[data-count="3"] {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		--card-ratio: 4 / 4;
	}

	.island-grid[data-count="2"] {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		--card-ratio: 16 / 10;
	}

	.island-grid[data-count="1"] {
		grid-template-columns: minmax(0, 1fr);
		--card-ratio: 21 / 8;
	}
}

@media (min-width: 64rem) {
	.island-region {
		grid-template-columns: 13rem minmax(0, 1fr);
		gap: 2rem;
		padding-block: 2.25rem;
	}

	.island-region-heading {
		flex-direction: column;
		align-items: flex-start;
		justify-content: flex-start;
		align-self: start;
		position: sticky;
		top: calc(var(--header-offset) + 1.5rem);
	}

	.island-grid[data-count="2"] {
		--card-ratio: 16 / 9;
	}
}

/* Island finder teaser: full-bleed photo, a frosted card and a live preview of question one. */
.home-finder {
	position: relative;
	display: flex;
	align-items: center;
	isolation: isolate;
	overflow: hidden;
	background: var(--lagoon);
}

.home-finder-image {
	position: absolute;
	inset: 0;
	z-index: -1;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 60% 50%;
}

.home-finder-grid {
	display: grid;
	gap: 2rem;
	align-items: center;
	padding-block: 14rem 1.5rem;
}

.home-finder-card {
	padding: clamp(1.5rem, 4vw, 2.5rem);
	border: 1px solid rgb(255 255 255 / 60%);
	border-radius: 22px;
	background: rgb(255 255 255 / 86%);
	box-shadow: 0 1.5rem 3rem -1.5rem rgb(6 39 43 / 45%);
	backdrop-filter: blur(14px) saturate(1.2);
}

.home-finder-card h2 {
	margin-bottom: 0.6rem;
}

.home-finder-card p {
	max-width: 30rem;
	margin-bottom: 1.5rem;
	color: var(--muted);
	font-size: 1.0625rem;
}

.home-finder-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1.25rem;
}

.home-finder-time {
	color: var(--muted);
	font-size: 0.875rem;
	font-weight: 500;
}

/* The preview only appears where there is room beside the card. */
.home-finder-preview {
	display: none;
}

@media (max-width: 39.99rem) {
	.home-finder-actions {
		justify-content: center;
		text-align: center;
	}

	.home-finder-actions .button {
		width: 100%;
	}
}

/* Tablets and up: card and question preview side by side; phones show the card only. */
@media (min-width: 40rem) {
	.home-finder {
		min-height: 32rem;
	}

	.home-finder-grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 19rem);
		gap: 2rem;
		padding-block: 4rem;
	}

	.home-finder-preview {
		display: grid;
		gap: 0.75rem;
		padding: 1.5rem;
		border: 1px solid rgb(255 255 255 / 55%);
		border-radius: 22px;
		background: rgb(255 255 255 / 78%);
		box-shadow: 0 1.5rem 3rem -1.5rem rgb(6 39 43 / 45%);
		backdrop-filter: blur(14px) saturate(1.2);
		transform: rotate(1.5deg);
	}

	.home-finder-step {
		margin: 0;
		color: var(--link);
		font-size: 0.8125rem;
		font-weight: 600;
	}

	.home-finder-progress {
		display: block;
		height: 5px;
		overflow: hidden;
		border-radius: var(--radius-pill);
		background: var(--shallow);
	}

	.home-finder-progress span {
		display: block;
		height: 100%;
		border-radius: inherit;
		background: linear-gradient(90deg, var(--lagoon), var(--channel));
	}

	.home-finder-question {
		margin: 0.25rem 0 0.25rem;
		color: var(--channel);
		font-family: var(--font-display);
		font-size: 1.45rem;
		font-weight: 600;
		line-height: 1.2;
	}

	ul.home-finder-options {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 0.5rem;
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.home-finder-options a {
		display: flex;
		align-items: center;
		min-height: var(--button-height);
		padding: 0.5rem 0.9rem;
		border: 1.5px solid var(--line);
		border-radius: 14px;
		background: var(--white);
		color: var(--ink);
		font-size: 0.9375rem;
		font-weight: 600;
		line-height: 1.25;
		text-decoration: none;
		transition: border-color 0.15s ease, box-shadow 0.15s ease;
	}

	.home-finder-options a:hover {
		border-color: var(--lagoon);
		box-shadow: 0 0.5rem 1.25rem -0.75rem rgb(15 95 98 / 45%);
	}
}

@media (min-width: 60rem) {
	.home-finder {
		min-height: 36rem;
	}

	.home-finder-grid {
		grid-template-columns: minmax(0, 30rem) minmax(0, 22rem);
		justify-content: space-between;
		gap: 3rem;
		padding-block: 5rem;
	}
}


/* Plan around the occasion: one feature card and four smaller cards. */
.occasion-grid {
	display: grid;
	grid-auto-columns: 72%;
	grid-auto-flow: column;
	gap: 0.85rem;
	margin: 0 calc(-1 * var(--gutter));
	padding: 0 var(--gutter) 0.25rem;
	overflow-x: auto;
	list-style: none;
	scroll-padding-inline: var(--gutter);
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.occasion-grid::-webkit-scrollbar {
	display: none;
}



/* Hub pages (Trip Types, Resorts): the same cards with a short description. */
.hub-card-description {
	display: -webkit-box;
	max-width: 30rem;
	margin-top: 0.25rem;
	overflow: hidden;
	color: rgb(255 255 255 / 88%);
	font-size: 0.9063rem;
	line-height: 1.45;
	text-shadow: 0 1px 2px rgb(6 39 43 / 55%);
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.occasion-card--feature .hub-card-description {
	font-size: 1rem;
	-webkit-line-clamp: 3;
}

.occasion-card .island-card-name {
	font-size: clamp(1.35rem, 2.2vw, 1.75rem);
}

@media (min-width: 48rem) {
	.occasion-grid {
		grid-auto-flow: row;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1rem;
		margin: 0;
		padding: 0;
		overflow: visible;
		--card-ratio: 4 / 3;
	}

	.occasion-card--feature {
		grid-column: 1 / -1;
		--card-ratio: 16 / 8;
	}
}

@media (min-width: 64rem) {
	.occasion-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		grid-template-rows: auto auto;
	}

	.occasion-card--feature {
		grid-column: 1 / 3;
		grid-row: 1 / 3;
	}

	.occasion-card--feature a {
		height: 100%;
		aspect-ratio: auto;
	}

	.occasion-card--feature .island-card-name {
		font-size: clamp(2rem, 3vw, 2.6rem);
	}

	.occasion-card--feature .island-card-text {
		right: 1.75rem;
		bottom: 1.75rem;
		left: 1.75rem;
	}
}

/*
 * How we write our guides: an editorial spread. A photograph, one large
 * statement, and three short principles set as plain text under hairlines.
 */
.method-band {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: flex-end;
	min-height: 30rem;
	overflow: hidden;
	background: var(--channel);
	color: var(--white);
}

.method-image {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 55%;
}

.method-band::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(to top, rgb(6 39 43 / 82%) 0%, rgb(6 39 43 / 40%) 38%, rgb(6 39 43 / 0%) 70%),
		linear-gradient(to right, rgb(6 39 43 / 45%) 0%, rgb(6 39 43 / 0%) 65%);
}

.method-inner {
	padding-block: clamp(4rem, 9vw, 6rem) clamp(2.5rem, 5vw, 3.5rem);
}

.method-lede {
	margin: 0.6rem 0 0;
	color: rgb(255 255 255 / 82%);
	font-size: clamp(1rem, 1.6vw, 1.125rem);
}

.method-statement {
	max-width: 18ch;
	margin: 0;
	color: var(--white);
	font-family: var(--font-display);
	font-size: clamp(2rem, 4.6vw, 3.4rem);
	font-weight: 500;
	letter-spacing: -0.02em;
	line-height: 1.14;
	text-shadow: 0 2px 24px rgb(6 39 43 / 40%);
}

.method-principles {
	display: grid;
	gap: 1.5rem;
	margin-top: clamp(2rem, 4.5vw, 3rem);
}

.method-principle {
	padding-top: 1rem;
	border-top: 1px solid rgb(255 255 255 / 35%);
}

.method-principle h3 {
	margin: 0 0 0.35rem;
	color: var(--white);
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: 0;
}

.method-principle p {
	max-width: 22rem;
	margin: 0;
	color: rgb(255 255 255 / 80%);
	font-size: 0.9375rem;
	line-height: 1.55;
}

.method-action {
	margin-top: clamp(1.75rem, 3vw, 2.25rem);
}

@media (min-width: 48rem) {
	.method-principles {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 2.5rem;
	}
}

@media (min-width: 64rem) {
	.method-band {
		min-height: 32rem;
	}
}

@media (max-width: 39.99rem) {
	.method-band {
		min-height: 0;
	}

	/* Text covers most of the photo on phones, so the wash is fuller and the lit villas sit higher. */
	.method-band::after {
		background: linear-gradient(to top, rgb(6 39 43 / 88%) 0%, rgb(6 39 43 / 70%) 55%, rgb(6 39 43 / 45%) 100%);
	}

	.method-image {
		object-position: 50% 20%;
	}

	.method-action {
		width: 100%;
	}
}

/* ==========================================================================
   Cards
   ========================================================================== */

.story-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr));
	gap: 1.25rem;
}

@media (min-width: 64rem) {
	.story-grid--three {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* Story card: the one card style for guides everywhere on the site. */
.story-card {
	min-width: 0;
}

.story-card-link {
	display: grid;
	grid-template-rows: auto 1fr;
	height: 100%;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 18px;
	background: var(--white);
	color: inherit;
	text-decoration: none;
	transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.story-card-link:hover {
	border-color: rgb(10 61 66 / 25%);
	box-shadow: 0 1rem 2rem -1.25rem rgb(6 39 43 / 35%);
}

.story-card-media {
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--shallow);
}

.story-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.story-card-link:hover .story-card-media img {
	transform: scale(1.03);
}

.story-card-body {
	padding: 1rem 1.1rem 1.25rem;
}

.story-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin: 0 0 0.4rem;
	font-size: 0.8125rem;
}

.story-kind {
	color: var(--link);
	font-weight: 600;
}

.story-place {
	color: var(--muted);
}

.story-title {
	margin: 0 0 0.45rem;
	color: var(--channel);
	font-size: clamp(1.15rem, 1.5vw, 1.3rem);
	line-height: 1.22;
}

.story-card-link:hover .story-title {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.15em;
}

.story-excerpt {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	color: var(--muted);
	font-size: 0.9375rem;
	line-height: 1.55;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

/* Archive grids: the newest guide as a wide feature, then rows of three. */
@media (min-width: 48rem) {
	.story-grid--archive {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.story-grid--archive > .story-card:first-child {
		grid-column: 1 / -1;
	}

	.story-grid--archive > .story-card:first-child .story-card-link {
		grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
		grid-template-rows: none;
	}

	.story-grid--archive > .story-card:first-child .story-card-media {
		aspect-ratio: auto;
		min-height: 18rem;
	}

	.story-grid--archive > .story-card:first-child .story-card-body {
		align-self: center;
		padding: clamp(1.5rem, 3vw, 2.5rem);
	}

	.story-grid--archive > .story-card:first-child .story-title {
		font-size: clamp(1.5rem, 2.4vw, 2rem);
	}

	.story-grid--archive > .story-card:first-child .story-excerpt {
		-webkit-line-clamp: 4;
		font-size: 1rem;
	}
}

@media (min-width: 64rem) {
	.story-grid--archive {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* Phones: compact rows with a thumbnail, so long lists stay easy to scan. */
@media (max-width: 47.99rem) {
	.story-grid--archive {
		gap: 0.75rem;
	}

	.story-grid--archive > .story-card:not(:first-child) .story-card-link {
		grid-template-columns: 6.5rem minmax(0, 1fr);
		grid-template-rows: none;
		border-radius: 14px;
	}

	.story-grid--archive > .story-card:not(:first-child) .story-card-media {
		aspect-ratio: auto;
		min-height: 100%;
	}

	.story-grid--archive > .story-card:not(:first-child) .story-card-body {
		align-self: center;
		padding: 0.8rem 0.9rem;
	}

	.story-grid--archive > .story-card:not(:first-child) .story-title {
		margin: 0;
		font-size: 1.05rem;
	}

	.story-grid--archive > .story-card:not(:first-child) .story-excerpt {
		display: none;
	}
}

/* Load more */
.guides-archive-heading p {
	color: var(--muted);
}

.guides-more {
	display: grid;
	justify-items: center;
	gap: 0.85rem;
	margin-top: clamp(2rem, 4vw, 2.75rem);
	text-align: center;
}

.guides-more-count {
	margin: 0;
	color: var(--muted);
	font-size: 0.875rem;
	font-variant-numeric: tabular-nums;
}

.guides-more .button {
	min-width: 14rem;
}

.guides-more .button:disabled {
	opacity: 0.6;
	cursor: progress;
}

@media (max-width: 39.99rem) {
	.guides-more .button {
		width: 100%;
	}
}

/* Legal pages: numbered sections with the article contents rail. */
.legal-updated {
	margin: 1rem 0 0;
	color: var(--muted);
	font-size: 0.875rem;
}

/* On a photo the summary and date stay visible on phones and read in white. */
.legal-photo-hero .term-hero-lede {
	max-width: 40rem;
	text-shadow: 0 1px 12px rgb(6 39 43 / 50%);
}

.legal-photo-hero .legal-updated {
	color: rgb(255 255 255 / 80%);
	text-shadow: 0 1px 8px rgb(6 39 43 / 50%);
}

@media (max-width: 47.99rem) {
	.legal-photo-hero .term-hero-lede {
		display: block;
		font-size: 0.9688rem;
	}

	/* The summary spans the full width on phones, so the shade does too. */
	.term-hero.legal-photo-hero.has-image::after {
		background: linear-gradient(to bottom, rgb(6 39 43 / 55%), rgb(6 39 43 / 68%));
	}
}

.legal-body {
	counter-reset: legal;
}

.legal-body > h2 {
	margin-top: 2.25em;
	font-size: clamp(1.35rem, 2.2vw, 1.7rem);
	counter-increment: legal;
}

.legal-body > h2::before {
	content: counter(legal) ". ";
	color: var(--lagoon);
}

.legal-body > h2:first-child {
	margin-top: 0;
}

.legal-body p,
.legal-body li {
	font-size: 1rem;
	line-height: 1.7;
}

.legal-body code {
	padding: 0.1em 0.35em;
	border-radius: 6px;
	background: var(--shallow);
	font-size: 0.875em;
	overflow-wrap: anywhere;
}

.legal-body .legal-note {
	padding: 1rem 1.25rem;
	border-radius: 14px;
	background: var(--shallow);
	color: var(--ink);
	font-size: 0.9375rem;
}

/* Compare: destination pills, then matchup cards grouped by question. */
.compare-filter-band {
	padding-bottom: 0;
}

.compare-count {
	margin: 0 0 0.85rem;
	color: var(--muted);
	font-size: 0.9375rem;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.compare-filters {
	margin-bottom: 0;
}

.compare-filters .chip-tab[aria-pressed="true"] {
	border-color: var(--channel);
	background: var(--channel);
	color: var(--white);
}

.compare-filters .chip-tab[aria-pressed="true"] .chip-tab-count {
	background: rgb(255 255 255 / 18%);
	color: var(--white);
}

[data-compare-group][hidden],
.compare-card[hidden] {
	display: none;
}

ul.compare-grid {
	display: grid;
	grid-auto-columns: 80%;
	grid-auto-flow: column;
	gap: 0.85rem;
	margin: 0 calc(-1 * var(--gutter));
	padding: 0 var(--gutter) 0.25rem;
	overflow-x: auto;
	list-style: none;
	scroll-padding-inline: var(--gutter);
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

ul.compare-grid::-webkit-scrollbar {
	display: none;
}

.compare-card {
	min-width: 0;
	margin: 0;
	scroll-snap-align: start;
}

.compare-card a {
	display: grid;
	grid-template-rows: auto 1fr;
	height: 100%;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 18px;
	background: var(--white);
	color: inherit;
	text-decoration: none;
	transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.compare-card a:hover {
	border-color: rgb(10 61 66 / 25%);
	box-shadow: 0 1rem 2rem -1.25rem rgb(6 39 43 / 35%);
}

.compare-card-visual {
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--channel);
	isolation: isolate;
}

.compare-card-image {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.compare-card a:hover .compare-card-image {
	transform: scale(1.04);
}

.compare-card-visual::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: radial-gradient(ellipse 80% 70% at 50% 50%, rgb(6 39 43 / 58%), rgb(6 39 43 / 25%));
}

.compare-card-names {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.35rem 0.6rem;
	padding: 1rem;
	color: var(--white);
	text-align: center;
}

.compare-card-name {
	font-family: var(--font-display);
	font-size: clamp(1.25rem, 2vw, 1.55rem);
	font-weight: 600;
	letter-spacing: -0.01em;
	line-height: 1.1;
	text-shadow: 0 2px 16px rgb(6 39 43 / 45%);
}

.compare-card-names.is-three .compare-card-name {
	font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}

.compare-card-vs {
	display: grid;
	place-items: center;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	background: var(--gold);
	color: var(--abyss);
	font-size: 0.75rem;
	font-weight: 700;
}

.compare-card-body {
	display: grid;
	align-content: start;
	gap: 0.3rem;
	padding: 0.9rem 1.05rem 1.1rem;
}

.compare-card-place {
	color: var(--link);
	font-size: 0.8125rem;
	font-weight: 600;
}

.compare-card-title {
	display: -webkit-box;
	overflow: hidden;
	color: var(--channel);
	font-family: var(--font-display);
	font-size: 1.05rem;
	font-weight: 600;
	line-height: 1.3;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.compare-empty p {
	margin: 0;
	color: var(--muted);
}

@media (min-width: 48rem) {
	ul.compare-grid {
		grid-auto-flow: row;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1.25rem;
		margin: 0;
		padding: 0;
		overflow: visible;
	}
}

@media (min-width: 64rem) {
	ul.compare-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* Collections: one editorial row per list, image sides alternating. */
ol.collection-list {
	display: grid;
	gap: clamp(1.25rem, 3vw, 2rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.collection-row {
	display: grid;
	overflow: hidden;
	margin: 0;
	border: 1px solid var(--line);
	border-radius: 22px;
	background: var(--white);
}

.collection-row-media {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--shallow);
}

.collection-row-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.collection-row:hover .collection-row-media img {
	transform: scale(1.03);
}

.collection-row-body {
	display: grid;
	align-content: center;
	justify-items: start;
	gap: 0.85rem;
	padding: clamp(1.25rem, 3.5vw, 2.5rem);
}

.collection-row-title {
	margin: 0;
	font-size: clamp(1.4rem, 2.4vw, 1.9rem);
	line-height: 1.15;
}

.collection-row-title a {
	color: inherit;
	text-decoration: none;
}

.collection-row-title a:hover {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.15em;
}

.collection-row-excerpt {
	margin: 0;
	color: var(--muted);
	font-size: 0.9688rem;
}

.collection-row-label {
	margin: 0.25rem 0 -0.35rem;
	color: var(--link);
	font-family: var(--font-body);
	font-size: 0.8125rem;
	font-weight: 600;
}

ul.collection-picks {
	display: grid;
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}

.collection-picks li {
	display: grid;
	gap: 0.1rem;
	margin: 0;
	padding: 0.55rem 0;
	border-bottom: 1px solid var(--line);
	font-size: 0.9375rem;
	line-height: 1.4;
}

.collection-picks strong {
	color: var(--channel);
	font-weight: 600;
}

.collection-picks span {
	color: var(--muted);
}

.collection-picks .collection-picks-more {
	border-bottom: 0;
	color: var(--muted);
	font-size: 0.875rem;
}

.collection-islands {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem;
	margin: 0;
	font-size: 0.8125rem;
}

.collection-islands span {
	margin-right: 0.25rem;
	color: var(--muted);
	font-weight: 600;
}

.collection-islands a {
	padding: 0.2rem 0.65rem;
	border: 1px solid var(--line);
	border-radius: var(--radius-pill);
	color: var(--channel);
	font-weight: 600;
	text-decoration: none;
}

.collection-islands a:hover {
	border-color: var(--channel);
}

/* Phones: a wider image, the picks without the summary, two picks at most. */
@media (max-width: 47.99rem) {
	.collection-row-media {
		aspect-ratio: 2 / 1;
	}

	.collection-row-excerpt,
	.collection-picks li:nth-child(n+3) {
		display: none;
	}

	.collection-row-body {
		gap: 0.7rem;
	}
}

@media (min-width: 60rem) {
	.collection-row {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}

	.collection-row-media {
		aspect-ratio: auto;
		min-height: 100%;
	}

	.collection-row:nth-child(even) .collection-row-media {
		order: 2;
	}
}

/* Contact: what to write about, beside the form in a card. */
.contact-layout {
	display: grid;
	gap: 2rem;
	align-items: start;
}

.contact-topics h2,
.contact-form-card h2 {
	margin-bottom: 1.25rem;
	font-size: clamp(1.4rem, 2.4vw, 1.8rem);
}

.contact-topics dl {
	display: grid;
	gap: 1.25rem;
	margin: 0;
}

.contact-topics dt {
	padding-top: 1rem;
	border-top: 1px solid rgb(10 61 66 / 18%);
	color: var(--channel);
	font-family: var(--font-display);
	font-size: 1.15rem;
	font-weight: 600;
}

.contact-topics dd {
	margin: 0.3rem 0 0;
	color: var(--muted);
	font-size: 0.9688rem;
	line-height: 1.6;
}

.contact-email {
	margin: 1.75rem 0 0;
	color: var(--muted);
}

.contact-email a {
	font-weight: 600;
}

.contact-form-card {
	padding: clamp(1.5rem, 4vw, 2.5rem);
	border: 1px solid var(--line);
	border-radius: 18px;
	background: var(--white);
	box-shadow: 0 1.5rem 3rem -2rem rgb(6 39 43 / 25%);
}

.contact-form-card .fluentform .ff-el-input--label label {
	color: var(--ink);
	font-weight: 600;
}

.contact-form-card .fluentform textarea.ff-el-form-control {
	min-height: 9rem;
	border-radius: 14px;
	resize: vertical;
}

.contact-form-card .fluentform .ff-btn-submit {
	width: auto;
	min-width: 12rem;
}

@media (min-width: 60rem) {
	.contact-layout {
		grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
		gap: 4rem;
	}

	.contact-topics {
		position: sticky;
		top: calc(var(--header-offset) + 1.5rem);
	}
}

/* Phones and tablets: the form comes first, the topics follow. */
@media (max-width: 59.99rem) {
	.contact-form-card {
		order: -1;
	}
}

@media (max-width: 39.99rem) {
	.contact-form-card .fluentform .ff-btn-submit {
		width: 100%;
	}
}

/* About: the founder's intro beside a portrait, then the story column. */
.about-hero {
	padding-block: clamp(2.5rem, 6vw, 4.5rem);
	border-bottom: 1px solid var(--line);
}

.about-hero-inner {
	display: grid;
	gap: 2rem;
	align-items: center;
}

.about-hero h1 {
	max-width: 14ch;
	margin-bottom: 0.4em;
	font-size: clamp(2.6rem, 6vw, 4.5rem);
}

.about-hero-lede {
	max-width: 34rem;
	margin: 0;
	color: var(--muted);
	font-size: clamp(1.125rem, 2vw, 1.375rem);
	line-height: 1.5;
}

.about-portrait {
	margin: 0;
}

.about-portrait img {
	width: 100%;
	aspect-ratio: 4 / 5;
	border-radius: 22px;
	object-fit: cover;
}

.about-portrait figcaption {
	margin-top: 0.75rem;
	color: var(--muted);
	font-size: 0.875rem;
}

@media (min-width: 48rem) {
	.about-hero-inner.has-photo {
		grid-template-columns: minmax(0, 1fr) minmax(0, 22rem);
		gap: 3rem;
	}
}

@media (min-width: 64rem) {
	.about-hero-inner.has-photo {
		grid-template-columns: minmax(0, 1fr) minmax(0, 26rem);
		gap: 5rem;
	}
}

@media (max-width: 47.99rem) {
	.about-portrait {
		order: -1;
		max-width: 18rem;
	}
}

/* About with a featured image: the intro reads on the photo, on phones too. */
@media (min-width: 48rem) {
	.term-hero.about-photo-hero.has-image {
		min-height: min(56svh, 30rem);
	}
}

.about-photo-hero .term-hero-lede {
	max-width: 32rem;
	font-size: clamp(1.0625rem, 1.8vw, 1.3rem);
	text-shadow: 0 1px 12px rgb(6 39 43 / 45%);
}

@media (max-width: 47.99rem) {
	.about-photo-hero .term-hero-lede {
		display: block;
	}
}

/* Portrait beside the story when the hero carries the photo. */
.about-story-inner.has-portrait {
	display: grid;
	gap: 2rem;
}

.about-story-inner.has-portrait .about-portrait {
	max-width: 22rem;
}

@media (min-width: 72rem) {
	.about-story-inner.has-portrait {
		grid-template-columns: minmax(0, 1fr) 18rem;
		gap: 4rem;
		align-items: start;
	}

	.about-story-inner.has-portrait .about-portrait {
		position: sticky;
		top: calc(var(--header-offset) + 1.5rem);
	}
}

/* Story: the page's own heading pinned beside the prose on wide screens. */
@media (min-width: 64rem) {
	.about-story-body {
		display: grid;
		grid-template-columns: 17rem minmax(0, var(--measure));
		column-gap: clamp(3rem, 6vw, 6rem);
		align-items: start;
	}

	.about-story-body > * {
		grid-column: 2;
	}

	.about-story-body > h2:first-child {
		grid-column: 1;
		grid-row: 1 / span 20;
		position: sticky;
		top: calc(var(--header-offset) + 1.5rem);
		margin: 0;
	}
}

.about-story-body > p {
	font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
	line-height: 1.75;
}

.about-principles-grid {
	display: grid;
	gap: 1.5rem;
}

.about-principle {
	padding-top: 1rem;
	border-top: 1px solid rgb(10 61 66 / 25%);
}

.about-principle h3 {
	margin-bottom: 0.4rem;
	font-size: clamp(1.15rem, 1.6vw, 1.3rem);
}

.about-principle p {
	margin: 0;
	color: var(--muted);
	font-size: 0.9688rem;
	line-height: 1.6;
}

@media (min-width: 48rem) {
	.about-principles-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 2rem 2.5rem;
	}
}

@media (min-width: 72rem) {
	.about-principles-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.about-start-inner {
	display: grid;
	gap: 1.5rem;
	align-items: center;
}

.about-start h2 {
	margin-bottom: 0.4rem;
}

.about-start p {
	max-width: 34rem;
	margin: 0;
	color: var(--muted);
}

.about-start-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

@media (min-width: 48rem) {
	.about-start-inner {
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 3rem;
	}
}

@media (max-width: 39.99rem) {
	.about-start-actions .button {
		flex: 1 1 100%;
	}
}

/* Plan your trip (/guides/): topic pills, then one section per planning question. */
.plan-topics {
	margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

/* Jump links (Guides topics, Destinations regions): chips that fill on hover. */
.jump-tabs .chip-tab {
	text-decoration: none;
}

.jump-tabs .chip-tab:hover {
	border-color: var(--channel);
	background: var(--channel);
	color: var(--white);
}

.jump-tabs .chip-tab:hover .chip-tab-count {
	background: rgb(255 255 255 / 18%);
	color: var(--white);
}

.plan-topic {
	display: grid;
	gap: 1.25rem;
	padding-block: clamp(1.75rem, 4vw, 2.5rem);
	border-top: 1px solid var(--line);
	scroll-margin-top: calc(var(--header-height) + 1rem);
}

.plan-topic-heading h2 {
	margin-bottom: 0.35rem;
	font-size: clamp(1.5rem, 2.6vw, 2rem);
}

.plan-topic-heading p {
	max-width: 24rem;
	margin: 0;
	color: var(--muted);
	font-size: 0.9688rem;
}

ul.plan-list {
	display: grid;
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.plan-item {
	display: grid;
	grid-template-columns: 4.5rem minmax(0, 1fr);
	align-items: center;
	gap: 1rem;
	height: 100%;
	padding: 0.6rem 1rem 0.6rem 0.6rem;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: var(--white);
	color: inherit;
	text-decoration: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.plan-item:hover {
	border-color: rgb(10 61 66 / 25%);
	box-shadow: 0 0.75rem 1.5rem -1rem rgb(6 39 43 / 35%);
}

.plan-item-media {
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: 10px;
	background: var(--shallow);
}

.plan-item-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.plan-item-text {
	display: grid;
	gap: 0.15rem;
	min-width: 0;
}

.plan-item-place {
	color: var(--link);
	font-size: 0.8125rem;
	font-weight: 600;
}

.plan-item-title {
	color: var(--channel);
	font-family: var(--font-display);
	font-size: 1.08rem;
	font-weight: 600;
	line-height: 1.25;
}

.plan-item:hover .plan-item-title {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.15em;
}

@media (min-width: 48rem) {
	ul.plan-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 64rem) {
	.plan-topic {
		grid-template-columns: 17rem minmax(0, 1fr);
		gap: 3rem;
	}

	.plan-topic-heading {
		align-self: start;
		position: sticky;
		top: calc(var(--header-offset) + 1.5rem);
	}
}

.plan-finder-inner {
	display: grid;
	gap: 1.5rem;
	align-items: center;
}

.plan-finder h2 {
	margin-bottom: 0.4rem;
}

.plan-finder p {
	max-width: 34rem;
	margin: 0;
	color: var(--muted);
}

@media (min-width: 48rem) {
	.plan-finder-inner {
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 3rem;
	}
}

@media (max-width: 47.99rem) {
	.plan-finder .button {
		width: 100%;
	}
}

/* Latest guides on the homepage: filtered rails of four cards. */
.guides-band .chip-tab {
	background: var(--white);
}

.guides-band .chip-tab[aria-selected="true"] {
	background: var(--channel);
}

.guide-rail {
	display: grid;
	grid-auto-columns: 78%;
	grid-auto-flow: column;
	gap: 0.85rem;
	margin: 0 calc(-1 * var(--gutter));
	padding: 0.25rem var(--gutter) 0.5rem;
	overflow-x: auto;
	scroll-padding-inline: var(--gutter);
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.guide-rail::-webkit-scrollbar {
	display: none;
}

.guide-rail .story-card {
	scroll-snap-align: start;
}

@media (min-width: 48rem) {
	.guide-rail {
		grid-auto-flow: row;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1.25rem;
		margin: 0;
		padding: 0;
		overflow: visible;
	}
}

@media (min-width: 64rem) {
	.guide-rail {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.pagination {
	margin-top: 3rem;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: var(--button-height-small);
	height: var(--button-height-small);
	padding: 0 0.75rem;
	border: 1px solid var(--line);
	border-radius: var(--radius-pill);
	color: var(--channel);
	text-decoration: none;
}

.pagination .page-numbers.current,
.pagination a.page-numbers:hover {
	border-color: var(--channel);
	background: var(--channel);
	color: var(--white);
}

/* ==========================================================================
   Page, archive and destination heroes
   ========================================================================== */

.breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	margin-bottom: 1.5rem;
	color: var(--muted);
	font-size: 0.875rem;
}

.breadcrumbs a {
	color: inherit;
}

.breadcrumbs a:hover {
	color: var(--link);
}

.breadcrumbs span[aria-hidden="true"] {
	opacity: 0.5;
}

.page-hero,
.archive-hero {
	padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2rem, 4vw, 3rem);
	border-bottom: 1px solid var(--line);
}

.page-hero h1,
.archive-hero h1 {
	max-width: 20ch;
	margin-bottom: 0.4em;
}

.page-hero-lede,
.page-intro,
.entry-content .page-intro,
.entry-content > p.has-large-font-size:first-child {
	max-width: 40rem;
	color: var(--muted);
	font-size: clamp(1.125rem, 1.8vw, 1.3rem);
	line-height: 1.55;
}

.archive-description {
	max-width: 44rem;
	color: var(--muted);
	font-size: 1.125rem;
}

.archive-description p:last-child {
	margin-bottom: 0;
}

/*
 * Term hero (destinations, trip types, resort types): a photo with the
 * breadcrumb and title vertically centred and left-aligned.
 */
.term-hero {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: center;
	padding-block: clamp(2.5rem, 6vw, 4rem) clamp(2rem, 4vw, 3rem);
	overflow: hidden;
	border-bottom: 1px solid var(--line);
}

.term-hero.has-image {
	min-height: min(46svh, 26rem);
	padding-block: 2.5rem;
	border-bottom: 0;
	background: var(--channel);
	color: var(--white);
}

.term-hero-image {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.term-hero.has-image::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(to right, rgb(6 39 43 / 72%) 0%, rgb(6 39 43 / 40%) 45%, rgb(6 39 43 / 10%) 80%),
		linear-gradient(to bottom, rgb(6 39 43 / 25%), rgb(6 39 43 / 0%) 40%);
}

.term-hero-inner {
	width: min(100% - 2 * var(--gutter), var(--wide));
}

.term-hero h1 {
	max-width: 20ch;
	margin-bottom: 0.35rem;
}

.term-hero.has-image h1,
.term-hero.has-image .breadcrumbs,
.term-hero.has-image .breadcrumbs a {
	color: var(--white);
}

.term-hero.has-image h1 {
	font-size: clamp(2.4rem, 6vw, 4.5rem);
	text-shadow: 0 2px 24px rgb(6 39 43 / 35%);
}

.term-hero.has-image .breadcrumbs {
	margin-bottom: 1rem;
}

.term-hero .coordinates {
	margin: 0;
	font-size: 0.9375rem;
}

.term-hero.has-image .coordinates,
.term-hero.has-image .term-hero-lede {
	color: rgb(255 255 255 / 85%);
}

.term-hero-lede {
	max-width: 36rem;
	margin: 0.5rem 0 0;
	color: var(--muted);
	font-size: clamp(1rem, 1.6vw, 1.125rem);
}

@media (max-width: 47.99rem) {
	.term-hero.has-image {
		min-height: min(34svh, 15rem);
		padding-block: 1.75rem;
	}

	.term-hero.has-image .breadcrumbs {
		margin-bottom: 0.6rem;
		font-size: 0.8125rem;
	}

	.term-hero.has-image h1 {
		font-size: clamp(2.1rem, 9vw, 2.75rem);
	}

	.term-hero-lede {
		display: none;
	}
}

.destination-summary {
	padding-block: clamp(2.5rem, 5vw, 3.5rem);
	border-bottom: 1px solid var(--line);
}

.destination-summary .wrap {
	display: grid;
	gap: 2rem;
}

.destination-facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	align-self: start;
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius-medium);
	background: var(--line);
}

.destination-fact {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	grid-template-rows: auto 1fr;
	column-gap: 0.75rem;
	align-content: start;
	padding: 1.1rem 1.15rem;
	background: var(--white);
}

.destination-fact-icon {
	display: inline-flex;
	grid-row: 1 / span 2;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	background: var(--shallow);
	color: var(--lagoon);
}

.destination-fact dt {
	align-self: end;
	color: var(--gold-deep);
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.destination-fact dd {
	margin: 0.2rem 0 0;
	color: var(--channel);
	font-family: var(--font-display);
	font-weight: 500;
	font-size: 1.0625rem;
	line-height: 1.3;
	overflow-wrap: break-word;
}

/* Phones: compact tiles, a small icon beside the label and the value full width below. */
@media (max-width: 47.99rem) {
	.destination-summary .wrap {
		gap: 1.25rem;
	}

	.destination-fact {
		grid-template-rows: auto auto;
		column-gap: 0.45rem;
		padding: 0.8rem 0.85rem;
	}

	.destination-fact-icon {
		grid-row: auto;
		width: 1.5rem;
		height: 1.5rem;
	}

	.destination-fact-icon svg {
		width: 14px;
		height: 14px;
	}

	.destination-fact dt {
		align-self: center;
		font-size: 0.625rem;
	}

	.destination-fact dd {
		grid-column: 1 / -1;
		margin-top: 0.4rem;
		font-size: 0.9375rem;
	}
}

@media (min-width: 64rem) {
	.destination-summary .wrap {
		gap: 2rem;
	}

	.destination-summary .archive-description {
		max-width: 52rem;
		font-size: 1.1875rem;
	}

	.destination-facts {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.destination-fact {
		padding: 1.35rem 1.4rem;
	}

	.destination-fact dd {
		font-size: 1.125rem;
	}
}

/* Destinations hub directory */

.destinations-hub-intro {
	max-width: 44rem;
	margin-bottom: 2.5rem;
}

.destination-directory {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr));
	gap: 2.5rem 2rem;
}

.destination-region-heading h2 {
	margin: 0 0 0.75rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid var(--line);
	font-size: 1.6rem;
}

.destination-region-heading a {
	color: inherit;
	text-decoration: none;
}

.destination-directory ul.destination-directory-list,
.destination-directory ul.subdestination-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.destination-directory li {
	margin: 0;
}

.destination-directory .coordinates {
	flex: 0 0 auto;
	white-space: nowrap;
}

.destination-directory-link {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	padding-block: 0.45rem;
	color: var(--ink);
	font-weight: 500;
	text-decoration: none;
}

.destination-directory-link:hover span:first-child {
	color: var(--link);
	text-decoration: underline;
}

.destination-directory ul.subdestination-list {
	margin: 0 0 0.5rem;
	padding-left: 0.85rem;
	border-left: 1px solid var(--line);
}

.subdestination-list a {
	display: block;
	padding-block: 0.2rem;
	color: var(--muted);
	font-size: 0.9375rem;
	text-decoration: none;
}

.subdestination-list a:hover {
	color: var(--link);
	text-decoration: underline;
}

/* Hub link cards written into page content */

.link-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
	gap: 1rem;
	margin-block: 2rem;
}

.link-card {
	display: block;
	padding: 1.5rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--white);
	color: inherit;
	text-decoration: none;
}

a.link-card:hover {
	border-color: var(--link);
}

.link-card h3 {
	margin-bottom: 0.35rem;
}

.link-card p {
	margin: 0;
	color: var(--muted);
	font-size: 0.9688rem;
}

/* ==========================================================================
   Article
   ========================================================================== */

/*
 * Article header: the featured image runs full width behind the breadcrumb,
 * title and meta line. Posts without an image fall back to a plain header.
 */
.article-header {
	padding-block: clamp(1.75rem, 4vw, 3rem) clamp(1.25rem, 3vw, 1.75rem);
	border-bottom: 1px solid var(--line);
}

.article-header-inner {
	display: flex;
	flex-direction: column;
	max-width: var(--wide);
}

.article-header.has-image {
	position: relative;
	isolation: isolate;
	display: flex;
	min-height: clamp(21rem, 50svh, 29rem);
	padding-block: 1.25rem 1.5rem;
	overflow: hidden;
	border-bottom: 0;
	background: var(--channel);
	color: var(--white);
}

.article-header-image {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.article-header.has-image::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(to right, rgb(6 39 43 / 32%) 0%, rgb(6 39 43 / 0%) 70%),
		linear-gradient(to top, rgb(6 39 43 / 90%) 0%, rgb(6 39 43 / 62%) 38%, rgb(6 39 43 / 22%) 70%, rgb(6 39 43 / 42%) 100%);
}

.article-header.has-image .article-header-inner {
	justify-content: space-between;
	gap: 1.5rem;
	width: min(100% - 2 * var(--gutter), var(--wide));
	margin-inline: auto;
}

.article-header .breadcrumbs {
	max-width: none;
	margin-bottom: 0;
	font-size: 0.8125rem;
}

/* The title sits right below, so the trail stops at the section. */
.article-header .breadcrumb-current,
.article-header .breadcrumbs span[aria-hidden="true"]:nth-last-child(2) {
	display: none;
}

.article-header.has-image .breadcrumbs,
.article-header.has-image .breadcrumbs a {
	color: rgb(255 255 255 / 88%);
	text-shadow: 0 1px 12px rgb(6 39 43 / 55%);
}

.article-header.has-image .breadcrumbs a:hover {
	color: var(--white);
}

.article-header-main {
	max-width: 58rem;
}

.article-title {
	max-width: 100%;
	margin-bottom: 0.35em;
	font-size: clamp(1.9rem, 4.6vw, 3.5rem);
	line-height: 1.08;
}

.article-header.has-image .article-title {
	color: var(--white);
	text-shadow: 0 2px 28px rgb(6 39 43 / 45%);
}

.article-dek {
	max-width: 50rem;
	margin: 0;
	color: var(--muted);
	font-size: clamp(1.0625rem, 1.5vw, 1.2rem);
	line-height: 1.5;
}

.article-header.has-image .article-dek {
	color: rgb(255 255 255 / 90%);
	text-shadow: 0 1px 14px rgb(6 39 43 / 50%);
}

.article-header-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 1.25rem;
}

.article-header.has-image .article-header-foot {
	margin-top: 0;
}

.article-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.15rem 0.9rem;
	margin: 0;
	color: var(--muted);
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.article-header.has-image .article-meta {
	color: rgb(255 255 255 / 85%);
	text-shadow: 0 1px 12px rgb(6 39 43 / 55%);
}

.article-date,
.article-readtime {
	white-space: nowrap;
}

.article-readtime::before {
	content: "";
	display: inline-block;
	width: 3px;
	height: 3px;
	margin: 0 0.9rem 0.22em 0;
	border-radius: 50%;
	background: currentcolor;
	opacity: 0.7;
}

.article-disclosure {
	max-width: 44rem;
	margin: 1rem 0 0;
	color: var(--muted);
	font-size: 0.8125rem;
}

.article-disclosure a {
	color: inherit;
}

/* Share bar: icon buttons on desktop, a single Share button with a panel on phones */

.share-bar {
	position: relative;
	display: flex;
	align-items: center;
	flex: none;
}

.share-list {
	display: flex;
	gap: 0.4rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.share-btn,
.share-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--line);
	background: var(--white);
	color: var(--ink);
	font: 600 0.875rem/1 var(--font-body);
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.share-btn {
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
}

.share-btn-label {
	display: none;
}

.share-icon {
	flex: none;
}

.share-btn:hover,
.share-toggle:hover {
	border-color: var(--channel);
	background: var(--channel);
	color: var(--white);
}

.share-toggle {
	display: none;
	gap: 0.5rem;
	min-height: 2.75rem;
	padding: 0 1.1rem;
	border-radius: var(--radius-pill);
}

.share-bar--light .share-btn,
.share-bar--light .share-toggle {
	border-color: rgb(255 255 255 / 50%);
	background: rgb(255 255 255 / 14%);
	color: var(--white);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.share-bar--light .share-btn:hover,
.share-bar--light .share-toggle:hover {
	border-color: var(--white);
	background: var(--white);
	color: var(--channel);
}

.share-bar--light :focus-visible {
	outline-color: var(--white);
}

@media (max-width: 47.99rem) {
	.article-header.has-image {
		min-height: clamp(18rem, 46svh, 24rem);
		padding-block: 1rem 1.1rem;
	}

	.article-header .breadcrumbs {
		flex-wrap: nowrap;
		overflow-x: auto;
		white-space: nowrap;
		scrollbar-width: none;
	}

	.article-header .breadcrumbs::-webkit-scrollbar {
		display: none;
	}

	.article-dek {
		display: none;
	}

	.article-meta {
		font-size: 0.75rem;
	}

	.article-readtime::before {
		display: none;
	}

	.share-toggle {
		display: inline-flex;
	}

	/* The panel opens upwards from the button so it never runs off the screen. */
	.share-list {
		position: absolute;
		right: 0;
		bottom: calc(100% + 0.6rem);
		z-index: 5;
		display: none;
		grid-template-columns: repeat(3, 4.75rem);
		gap: 0.25rem;
		padding: 0.6rem;
		border-radius: 1rem;
		background: var(--white);
		box-shadow: 0 1rem 2.5rem -0.5rem rgb(6 39 43 / 45%);
	}

	.share-bar.is-open .share-list {
		display: grid;
	}

	.share-list .share-btn,
	.share-bar--light .share-list .share-btn {
		flex-direction: column;
		gap: 0.4rem;
		width: 100%;
		height: auto;
		padding: 0.7rem 0.25rem;
		border: 0;
		border-radius: 0.75rem;
		background: transparent;
		color: var(--ink);
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
	}

	.share-list .share-btn:hover,
	.share-bar--light .share-list .share-btn:hover {
		background: var(--shallow);
		color: var(--channel);
	}

	.share-list .share-btn-label {
		display: block;
		font-size: 0.75rem;
		font-weight: 600;
	}
}

.article-share-end {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.9rem 1.5rem;
	margin-block: 3rem 0;
	padding-block: 1.25rem;
	border-block: 1px solid var(--line);
}

.article-share-end-title {
	max-width: 22rem;
	margin: 0;
	color: var(--channel);
	font-family: var(--font-display);
	font-size: 1.1rem;
	line-height: 1.35;
}

@media print {
	.share-bar,
	.article-share-end {
		display: none;
	}
}

.article-layout {
	display: grid;
	gap: 2rem;
	padding-block: clamp(2rem, 5vw, 3.5rem) var(--band);
}

.article-body {
	min-width: 0;
	max-width: var(--measure);
}

.article-contents {
	border-block: 1px solid var(--line);
}

.article-contents summary {
	padding-block: 0.9rem;
	color: var(--channel);
	font-weight: 600;
	cursor: pointer;
}

.article-contents ol {
	margin: 0 0 1rem;
	padding: 0;
	list-style: none;
}

.article-contents li a {
	display: block;
	padding: 0.35rem 0 0.35rem 0.85rem;
	border-left: 2px solid var(--line);
	color: var(--muted);
	font-size: 0.9375rem;
	line-height: 1.4;
	text-decoration: none;
}

.article-contents li a:hover,
.article-contents li a.is-current {
	border-left-color: var(--link);
	color: var(--channel);
}

.article-glance {
	margin-top: 1.5rem;
	padding: 1.25rem;
	border-radius: var(--radius);
	background: var(--shallow);
}

.article-glance h2 {
	margin-bottom: 0.75rem;
	font-size: 1.2rem;
}

.article-glance dl {
	margin: 0;
}

.article-glance dt {
	color: var(--muted);
	font-size: 0.8125rem;
	font-weight: 600;
}

.article-glance dd {
	margin: 0.1rem 0 0.85rem;
	color: var(--ink);
	font-size: 0.9688rem;
}

.article-glance dd:last-child {
	margin-bottom: 0;
}

@media (min-width: 64rem) {
	.article-layout {
		grid-template-columns: 15rem minmax(0, var(--measure));
		gap: clamp(3rem, 6vw, 6rem);
	}

	.article-rail {
		position: sticky;
		top: calc(var(--header-offset) + 1.5rem);
		align-self: start;
		max-height: calc(100vh - var(--header-height) - 3rem);
		overflow-y: auto;
	}

	.article-contents summary {
		pointer-events: none;
		list-style: none;
	}

	.article-contents summary::-webkit-details-marker {
		display: none;
	}
}

/* Article content */

.entry-content > * {
	margin-block: 0 1.25em;
}

.entry-content h2 {
	margin: 2.4em 0 0.6em;
}

.entry-content h3 {
	margin: 2em 0 0.5em;
}

.entry-content > h2:first-child,
.entry-content > h3:first-child {
	margin-top: 0;
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.25em;
}

.entry-content li {
	margin-bottom: 0.4em;
}

.entry-content li::marker {
	color: var(--lagoon);
}

.entry-content strong {
	color: var(--channel);
	font-weight: 650;
}

.entry-content blockquote {
	margin: 2em 0;
	padding-left: 1.25rem;
	border-left: 2px solid var(--gold);
	color: var(--channel);
	font-family: var(--font-display);
	font-size: 1.3rem;
	font-weight: 500;
	line-height: 1.45;
}

.entry-content figure {
	margin: 2.25em 0;
}

.entry-content .wp-block-image img {
	width: 100%;
	border-radius: var(--radius);
}

.entry-content figcaption,
.entry-content .wp-element-caption {
	margin-top: 0.6rem;
	color: var(--muted);
	font-size: 0.875rem;
	line-height: 1.45;
	text-align: left;
}

.entry-content hr {
	margin: 3rem 0;
	border: 0;
	border-top: 1px solid var(--line);
}

.editorial-note {
	padding: 1.25rem 1.5rem;
	border-radius: var(--radius);
	background: var(--shallow);
	color: var(--ink);
}

.editorial-note p:last-child {
	margin-bottom: 0;
}

.commission-note {
	margin-top: 3rem !important;
	padding-top: 1.25rem;
	border-top: 1px solid var(--line);
	color: var(--muted);
	font-size: 0.875rem;
}

.commission-note p {
	margin: 0;
}

/* A photo slot added in the editor but not filled yet stays hidden on the site. */
.entry-content .wp-block-image:has(> img:not([src])),
.entry-content .wp-block-image:has(> img[src=""]) {
	display: none;
}

/* Invented first-hand passages written for the draft site. Visitors see normal
 * text; logged-in editors see them outlined so they are replaced before launch. */
body.logged-in .entry-content .is-draft-claim {
	outline: 2px dashed var(--gold);
	outline-offset: 6px;
}

body.logged-in .entry-content .is-draft-claim::before {
	content: "Invented for the draft: replace with a real experience or remove";
	display: block;
	margin-bottom: 0.35rem;
	color: var(--gold-deep, #9c7a3c);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.02em;
}

/* Date note under the first prices in an article. */
.entry-content .price-note {
	padding-left: 0.85rem;
	border-left: 2px solid var(--gold);
	color: var(--muted);
	font-size: 0.875rem;
	line-height: 1.55;
}

.author-box {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 1.25rem;
	align-items: start;
	margin-top: 2.5rem !important;
	padding: 1.5rem;
	border-radius: var(--radius);
	background: var(--white);
	border: 1px solid var(--line);
}

.author-box-avatar {
	width: 4.25rem;
	height: 4.25rem;
	border-radius: 50%;
}

.author-monogram {
	display: grid;
	place-items: center;
	background: var(--channel);
	color: var(--white);
	font-family: var(--font-display);
	font-weight: 600;
	line-height: 1;
}

.article-avatar.author-monogram {
	font-size: 1.1rem;
}

.author-box-avatar.author-monogram {
	font-size: 1.9rem;
}

.article-avatar,
.author-box-avatar {
	object-fit: cover;
}

.author-box-name {
	margin: 0 0 0.3rem;
	color: var(--channel);
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1.3rem;
}

.author-box p:not(.author-box-name) {
	margin-bottom: 0.6rem;
	color: var(--muted);
	font-size: 0.9688rem;
}

/* Booking links */

.entry-content a.rate-link--button {
	display: inline-block;
	margin-block: 0.2em;
	padding: 0.25em 0.9em;
	border-radius: var(--radius-pill);
	background: var(--gold);
	color: var(--abyss);
	font-size: 0.9em;
	font-weight: 600;
	line-height: 1.5;
	text-decoration: none;
	transition: background-color 0.15s ease;
}

.entry-content a.rate-link--button:hover {
	background: #dcbd8a;
	color: var(--abyss);
}

/* Partner menu for resorts with more than one booking site. */
.rate-choice {
	position: relative;
	display: inline-block;
}

.entry-content a.rate-choice__toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
}

.entry-content a.rate-choice__toggle::after {
	content: "";
	width: 0.42em;
	height: 0.42em;
	margin-top: -0.2em;
	border-right: 1.5px solid currentcolor;
	border-bottom: 1.5px solid currentcolor;
	transform: rotate(45deg);
	transition: transform 0.15s ease;
}

.rate-choice.is-open .rate-choice__toggle::after {
	margin-top: 0.15em;
	transform: rotate(-135deg);
}

.rate-menu {
	position: absolute;
	top: calc(100% + 0.5rem);
	left: 0;
	z-index: 40;
	display: grid;
	gap: 0.35rem;
	width: max-content;
	min-width: 16rem;
	max-width: min(20rem, calc(100vw - 2rem));
	padding: 0.75rem;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: var(--white);
	box-shadow: 0 1.25rem 2.5rem -1rem rgb(6 39 43 / 35%);
	font-family: var(--font-body);
	font-size: 0.9375rem;
	font-weight: 400;
	line-height: 1.35;
	text-align: left;
	white-space: normal;
	animation: rate-menu-in 0.16s ease both;
}

.rate-menu[hidden] {
	display: none;
}

.rate-menu--end {
	right: 0;
	left: auto;
}

/* An invisible bridge so the pointer can travel from button to menu. */
.rate-menu::before {
	content: "";
	position: absolute;
	inset: -0.6rem 0 auto;
	height: 0.6rem;
}

@keyframes rate-menu-in {
	from {
		opacity: 0;
		transform: translateY(-4px);
	}
}

.rate-menu__title {
	display: block;
	padding: 0.15rem 0.35rem 0.4rem;
	color: var(--muted);
	font-size: 0.8125rem;
	font-weight: 600;
}

.entry-content a.rate-menu__item {
	display: grid;
	grid-template-columns: 1fr auto auto;
	align-items: center;
	gap: 0.6rem;
	min-height: 2.9rem;
	padding: 0.55rem 0.75rem;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: var(--white);
	color: var(--ink);
	font-weight: 600;
	text-decoration: none;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

.entry-content a.rate-menu__item:hover,
.entry-content a.rate-menu__item:focus-visible {
	border-color: var(--channel);
	background: var(--salt);
	color: var(--channel);
}

.entry-content a.rate-menu__item--preferred {
	border-color: var(--gold);
	background: #fcfaf6;
}

.entry-content a.rate-menu__item--preferred:hover,
.entry-content a.rate-menu__item--preferred:focus-visible {
	border-color: var(--gold-deep);
	background: #f8f2e8;
}

.rate-menu__tag {
	padding: 0.15rem 0.5rem;
	border-radius: 999px;
	background: var(--gold);
	color: var(--abyss);
	font-size: 0.75rem;
	font-weight: 600;
}

.rate-menu__arrow {
	width: 0.9rem;
	height: 0.9rem;
	fill: none;
	stroke: var(--muted);
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.6;
}

.rate-menu__item:hover .rate-menu__arrow {
	stroke: currentcolor;
}

.rate-menu__item:not(.rate-menu__item--preferred) .rate-menu__name {
	grid-column: 1 / 3;
}

.rate-menu__note {
	display: block;
	padding: 0.35rem 0.35rem 0;
	color: var(--muted);
	font-size: 0.75rem;
}

/* On phones the menu becomes a sheet pinned to the bottom of the screen. */
@media (max-width: 35.99rem) {
	.rate-menu,
	.rate-menu--end {
		position: fixed;
		top: auto;
		right: 0.75rem;
		bottom: 0.75rem;
		left: 0.75rem;
		width: auto;
		max-width: none;
		padding: 1rem;
		box-shadow: 0 -0.5rem 3rem rgb(6 39 43 / 35%);
	}

	.rate-menu::before {
		display: none;
	}
}

.resort-card {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 2rem;
	padding: 1.25rem 1.5rem;
	border: 1px solid var(--line);
	border-left: 3px solid var(--gold);
	border-radius: var(--radius);
	background: var(--white);
}

.resort-card p {
	margin: 0;
}

.resort-card__name {
	color: var(--channel);
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1.3rem;
}

.resort-card__place,
.resort-card__note {
	color: var(--muted);
	font-size: 0.9375rem;
}

.resort-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.entry-content .resort-card a.rate-link--secondary {
	display: inline-block;
	padding: 0.25em 0.9em;
	border: 1px solid var(--line);
	border-radius: var(--radius-pill);
	color: var(--channel);
	font-size: 0.9em;
	font-weight: 600;
	text-decoration: none;
}

/* Tables */

.entry-content .wp-block-table {
	margin: 2em 0;
	overflow-x: auto;
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9375rem;
	line-height: 1.45;
}

.entry-content .wp-block-table table,
.entry-content .wp-block-table thead,
.entry-content .wp-block-table tfoot {
	border: 0;
}

.entry-content th,
.entry-content td,
.entry-content .wp-block-table th,
.entry-content .wp-block-table td {
	padding: 0.75rem 0.9rem;
	border: 0;
	border-bottom: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}

.entry-content thead th,
.entry-content .wp-block-table thead th {
	border-bottom: 2px solid var(--channel);
	background: var(--shallow);
	color: var(--channel);
	font-weight: 600;
}

.entry-content tbody td:first-child {
	color: var(--channel);
	font-weight: 600;
}

.entry-content .wp-block-table.has-fixed-layout table,
.entry-content table.has-fixed-layout {
	table-layout: auto;
}

.islandfolio-table-hint {
	display: block;
	margin-bottom: 0.4rem;
	color: var(--muted);
	font-size: 0.8125rem;
}

.islandfolio-table-container--scroll table {
	min-width: 36rem;
}

@media (max-width: 47.99rem) {
	.islandfolio-table--cards thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(1px, 1px, 1px, 1px);
	}

	.islandfolio-table--cards,
	.islandfolio-table--cards tbody,
	.islandfolio-table--cards tr,
	.islandfolio-table--cards td {
		display: block;
	}

	.islandfolio-table--cards tr {
		margin-bottom: 1rem;
		padding: 0.5rem 1rem;
		border: 1px solid var(--line);
		border-radius: var(--radius);
		background: var(--white);
	}

	.entry-content .islandfolio-table--cards td {
		padding: 0.6rem 0;
	}

	.entry-content .islandfolio-table--cards td:last-child {
		border-bottom: 0;
	}

	.islandfolio-table--cards td[data-label]::before {
		content: attr(data-label);
		display: block;
		margin-bottom: 0.1rem;
		color: var(--muted);
		font-size: 0.75rem;
		font-weight: 600;
	}

	.islandfolio-table--cards td:first-child {
		font-family: var(--font-display);
		font-size: 1.2rem;
		font-weight: 600;
	}

	.islandfolio-table--cards td:first-child::before {
		display: none;
	}
}

/* ==========================================================================
   Island Finder
   ========================================================================== */

/* The quiz panel: one question at a time, large tiles, a progress bar. */
.finder-panel {
	max-width: 52rem;
	margin-top: 1rem;
	padding: clamp(1.5rem, 4vw, 2.75rem);
	border: 1px solid var(--line);
	border-radius: 18px;
	background: var(--white);
	box-shadow: 0 1.5rem 3.5rem -2rem rgb(6 39 43 / 28%);
}

.finder-progress {
	display: grid;
	gap: 0.6rem;
	margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.finder-progress__label {
	color: var(--link);
	font-size: 0.875rem;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.finder-progress__track {
	display: block;
	height: 6px;
	overflow: hidden;
	border-radius: 999px;
	background: var(--shallow);
}

.finder-progress__bar {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--lagoon), var(--channel));
	transition: width 0.35s ease;
}

.finder-step {
	margin: 0;
	padding: 0;
	border: 0;
}

.finder-step[hidden] {
	display: none;
}

.finder-panel.is-ready .finder-step:not([hidden]) {
	animation: finder-step-in 0.3s ease both;
}

@keyframes finder-step-in {
	from {
		opacity: 0;
		transform: translateY(6px);
	}
}

.finder-step__question {
	margin-bottom: 1.5rem;
	padding: 0;
	color: var(--channel);
	font-family: var(--font-display);
	font-size: clamp(1.6rem, 3.2vw, 2.25rem);
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.15;
}

.finder-options {
	display: grid;
	gap: 0.75rem;
}

@media (min-width: 36rem) {
	.finder-options {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.finder-option {
	position: relative;
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 0.9rem;
	min-height: 4.75rem;
	padding: 0.9rem 1rem;
	border: 1.5px solid var(--line);
	border-radius: 14px;
	background: var(--white);
	cursor: pointer;
	transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.finder-option:hover {
	border-color: var(--lagoon);
	box-shadow: 0 0.5rem 1.25rem -0.75rem rgb(15 95 98 / 45%);
}

.finder-option input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.finder-option__icon {
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 12px;
	background: var(--shallow);
	color: var(--lagoon);
	transition: background-color 0.15s ease, color 0.15s ease;
}

.finder-option__icon svg {
	width: 1.4rem;
	height: 1.4rem;
	fill: none;
	stroke: currentcolor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.6;
}

.finder-option__text {
	display: grid;
	gap: 0.1rem;
	min-width: 0;
}

.finder-option__label {
	color: var(--ink);
	font-weight: 600;
	line-height: 1.3;
}

.finder-option__hint {
	color: var(--muted);
	font-size: 0.875rem;
	line-height: 1.4;
}

.finder-option__check {
	display: grid;
	place-items: center;
	width: 1.5rem;
	height: 1.5rem;
	border: 1.5px solid var(--line);
	border-radius: 50%;
	color: var(--white);
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.finder-option__check svg {
	width: 0.9rem;
	height: 0.9rem;
	fill: none;
	stroke: currentcolor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2;
	opacity: 0;
}

.finder-option:has(input:checked) {
	border-color: var(--channel);
	background: #f5f8f8;
	box-shadow: 0 0 0 1px var(--channel);
}

.finder-option:has(input:checked) .finder-option__icon {
	background: var(--channel);
	color: var(--white);
}

.finder-option:has(input:checked) .finder-option__check {
	border-color: var(--channel);
	background: var(--channel);
}

.finder-option:has(input:checked) .finder-option__check svg {
	opacity: 1;
}

.finder-option:has(input:focus-visible) {
	outline: 2px solid var(--link);
	outline-offset: 3px;
}

.island-finder__error {
	margin: 1.25rem 0 0;
	color: #9b2c1f;
	font-weight: 600;
}

.finder-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-top: clamp(1.5rem, 3vw, 2.25rem);
	padding-top: 1.25rem;
	border-top: 1px solid var(--line);
}

.finder-nav__back {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.6rem 0.25rem;
	border: 0;
	background: none;
	color: var(--muted);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.finder-nav__back:hover {
	color: var(--channel);
}

.finder-nav__back svg {
	width: 1rem;
	height: 1rem;
	fill: none;
	stroke: currentcolor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2;
}

.finder-nav__back[hidden] {
	display: none;
}

.finder-nav__next {
	margin-left: auto;
	min-width: 9rem;
}

.finder-nav__next:disabled {
	border-color: var(--line);
	background: var(--line);
	color: var(--muted);
	cursor: not-allowed;
}



.island-finder-results {
	margin-top: 2.5rem;
}

.island-finder-results:focus {
	outline: none;
}

/* Island Finder page: centred hero, with the quiz overlapping its lower edge. */
.finder-hero.has-image {
	min-height: min(52svh, 30rem);
	padding-block: 3rem 8.5rem;
	text-align: center;
}

.finder-hero.has-image::after {
	background:
		radial-gradient(ellipse 65% 70% at 50% 40%, rgb(6 39 43 / 55%), rgb(6 39 43 / 20%) 70%),
		linear-gradient(to bottom, rgb(6 39 43 / 25%), rgb(6 39 43 / 0%) 40%);
}

.finder-hero-inner {
	display: grid;
	justify-items: center;
}

.finder-hero.has-image h1 {
	max-width: 16ch;
	margin-inline: auto;
}

.finder-hero .term-hero-lede {
	max-width: 38rem;
	margin-inline: auto;
}

.finder-stage {
	position: relative;
	z-index: 1;
	margin-top: -6.5rem;
	padding-bottom: var(--band);
}

.finder-stage .finder-panel,
.finder-stage .island-finder-results {
	max-width: 64rem;
	margin: 0 auto;
}

.finder-stage .island-finder-results {
	padding: clamp(1.5rem, 4vw, 2.75rem);
	border: 1px solid var(--line);
	border-radius: 18px;
	background: var(--white);
	box-shadow: 0 1.5rem 3.5rem -2rem rgb(6 39 43 / 28%);
}

.finder-reassurance {
	margin: 1.5rem 0 0;
	color: var(--muted);
	font-size: 0.875rem;
	text-align: center;
}

.finder-browse {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem 1.25rem;
	margin-top: 0.75rem;
	font-size: 0.9375rem;
}

.finder-browse span {
	color: var(--muted);
}

.finder-browse a {
	font-weight: 600;
}

/* Three or five answers sit in three columns, so no tile is left alone on a row. */
@media (min-width: 60rem) {
	.finder-stage .finder-options:has(> .finder-option:nth-child(3):last-child),
	.finder-stage .finder-options:has(> .finder-option:nth-child(5):last-child) {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 47.99rem) {
	.finder-hero.has-image {
		min-height: 0;
		padding-block: 2.25rem 5.5rem;
	}

	.finder-hero .term-hero-lede {
		display: block;
		font-size: 0.9688rem;
	}

	.finder-stage {
		margin-top: -4rem;
	}
}

ol.island-finder-results__list {
	display: grid;
	gap: 2rem;
	margin: 0 0 2rem;
	padding: 0;
	list-style: none;
	counter-reset: result;
}

.finder-result {
	display: grid;
	gap: 1.25rem;
	padding-bottom: 2rem;
	border-bottom: 1px solid var(--line);
	counter-increment: result;
}

.finder-result__media {
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--shallow);
}

.finder-result__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.finder-result .finder-result__name {
	margin: 0 0 0.2rem;
	font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.finder-result__name::before {
	content: counter(result) ". ";
	color: var(--lagoon);
}

.finder-result__name a {
	color: inherit;
	text-decoration: none;
}

.finder-result__name a:hover {
	text-decoration: underline;
}

.finder-result .finder-result__match {
	margin: 0 0 1rem;
	color: var(--gold-deep);
	font-weight: 600;
}

ul.finder-result__reasons {
	margin: 0 0 1rem;
	padding: 0;
	list-style: none;
}

ul.finder-result__reasons li {
	position: relative;
	margin-bottom: 0.3rem;
	padding-left: 1.5rem;
}

.finder-result__reasons li::before {
	content: "";
	position: absolute;
	top: 0.45em;
	left: 0.15rem;
	width: 0.7rem;
	height: 0.4rem;
	border-bottom: 2px solid var(--lagoon);
	border-left: 2px solid var(--lagoon);
	transform: rotate(-45deg);
}

.finder-result__label {
	margin: 0 0 0.25rem;
	color: var(--muted);
	font-size: 0.875rem;
	font-weight: 600;
}

ul.finder-result__guides {
	margin: 0 0 1.25rem;
	padding-left: 1.1rem;
}

@media (min-width: 48rem) {
	.finder-result {
		grid-template-columns: 17rem 1fr;
		gap: 2rem;
	}
}

.island-finder-results__newsletter {
	margin-top: 2.5rem;
	padding: clamp(1.5rem, 4vw, 2.5rem);
	border-radius: var(--radius);
	background: var(--shallow);
}

.island-finder-results__newsletter p {
	color: var(--muted);
}

/* ==========================================================================
   Forms (Fluent Forms)
   ========================================================================== */

.fluentform .ff-el-group {
	margin-bottom: 0.75rem;
}

.fluentform .ff-el-form-control,
.fluentform form .ff-el-group input.ff-el-form-control {
	width: 100%;
	min-height: var(--button-height);
	padding: 0.7rem 1.1rem;
	border: 1px solid var(--line);
	border-radius: var(--radius-pill);
	background: var(--white);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 1rem;
}

.fluentform .ff-el-form-control:focus {
	border-color: var(--link);
	outline: 2px solid var(--link);
	outline-offset: 1px;
}

.fluentform label,
.fluentform .ff-el-form-check-label {
	color: inherit;
	font-family: var(--font-body);
	font-size: 0.875rem;
}

.fluentform form .ff-btn.ff-btn-submit.wpf_has_custom_css,
.fluentform .ff-btn-submit {
	width: 100%;
	min-height: var(--button-height);
	padding: 0.7rem 1.5rem;
	border: 1px solid var(--channel);
	border-radius: var(--radius-pill);
	background: var(--channel);
	color: var(--white);
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
}

.fluentform form .ff-btn.ff-btn-submit.wpf_has_custom_css:hover,
.fluentform .ff-btn-submit:hover {
	border-color: var(--abyss);
	background: var(--abyss);
	color: var(--white);
}

.fluentform .ff-t-container {
	gap: 0.6rem;
}

/*
 * Below 768px Fluent Forms stacks columns as blocks, so the gap above no longer
 * applies: match the spacing between ordinary fields instead.
 */
@media (max-width: 767.98px) {
	.fluentform .ff-t-cell + .ff-t-cell {
		margin-top: 1.25rem;
	}

	/* Room between the stacked row (such as email + Subscribe) and the consent line. */
	.fluentform .ff-t-container + .ff-el-group {
		margin-top: 1rem;
	}
}

.fluentform .ff-t-container.mobile:not(.ff_excluded) .ff-t-cell + .ff-t-cell {
	margin-top: 1.25rem;
}


.fluentform .ff-message-success {
	padding: 1rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--white);
	color: var(--channel);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
	padding-top: clamp(3rem, 6vw, 4.5rem);
	background: var(--abyss);
	color: rgb(255 255 255 / 70%);
	font-size: 0.9375rem;
}

.site-footer a {
	color: rgb(255 255 255 / 86%);
	text-decoration: none;
	transition: color 0.15s ease;
}

.site-footer a:hover {
	color: var(--white);
}

/* Newsletter: a rounded panel, the last call to action on every page. */
.footer-signup {
	display: grid;
	gap: 1.75rem;
	padding: clamp(1.5rem, 4vw, 2.75rem);
	border: 1px solid rgb(255 255 255 / 10%);
	border-radius: 22px;
	background:
		radial-gradient(ellipse 70% 120% at 0% 0%, rgb(42 157 150 / 22%), transparent 60%),
		var(--channel);
}

.footer-signup h2 {
	max-width: 20ch;
	margin-bottom: 0.5rem;
	color: var(--white);
	font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.footer-signup p {
	max-width: 30rem;
	margin: 0;
	color: rgb(255 255 255 / 75%);
}

.footer-signup .fluentform .ff-el-form-control {
	border-color: transparent;
}

.footer-signup .fluentform label,
.footer-signup .fluentform .ff-el-form-check-label {
	color: rgb(255 255 255 / 78%);
	font-size: 0.8125rem;
}

.footer-signup .fluentform .ff-el-group:last-of-type {
	margin-bottom: 0;
}

.site-footer .fluentform form .ff-btn.ff-btn-submit.wpf_has_custom_css,
.site-footer .fluentform .ff-btn-submit {
	border-color: var(--gold);
	background: var(--gold);
	color: var(--abyss);
}

.site-footer .fluentform form .ff-btn.ff-btn-submit.wpf_has_custom_css:hover,
.site-footer .fluentform .ff-btn-submit:hover {
	border-color: #dcbd8a;
	background: #dcbd8a;
	color: var(--abyss);
}

@media (min-width: 60rem) {
	.footer-signup {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
		align-items: center;
		gap: 4rem;
	}
}

/* Links */
.footer-main {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2.25rem 1.5rem;
	padding-block: clamp(2.75rem, 6vw, 4rem);
}

.footer-about {
	display: grid;
	grid-column: 1 / -1;
	align-content: start;
	justify-items: start;
	gap: 1rem;
}

.footer-brand img {
	width: auto;
	height: 1.85rem;
	filter: brightness(0) invert(1);
	opacity: 0.95;
}

.footer-about p {
	max-width: 22rem;
	margin: 0;
	line-height: 1.6;
}

.footer-heading {
	margin-bottom: 1rem;
	color: var(--gold);
	font-family: var(--font-body);
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0;
}

.footer-nav ul,
.footer-social {
	display: grid;
	gap: 0.6rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-more {
	font-weight: 600;
	text-decoration: underline !important;
	text-underline-offset: 0.2em;
}

.footer-social {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
}

/* Phones: the longer About list spans the width in two columns. */
@media (max-width: 47.99rem) {
	.footer-main > .footer-nav:last-child {
		grid-column: 1 / -1;
	}

	.footer-main > .footer-nav:last-child ul {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 1.5rem;
	}

	.island-region {
		padding-block: 1.25rem;
		gap: 0.85rem;
	}
}

@media (min-width: 48rem) {
	.footer-main {
		grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
		gap: 3rem;
	}

	.footer-about {
		grid-column: auto;
	}
}

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 2rem;
	padding-block: 1.5rem 2rem;
	border-top: 1px solid rgb(255 255 255 / 12%);
	font-size: 0.8125rem;
}

.footer-legal {
	max-width: 46rem;
	margin: 0;
	color: rgb(255 255 255 / 60%);
}

.footer-legal a {
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.footer-top {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-weight: 600;
	white-space: nowrap;
}

.footer-top svg {
	width: 0.9rem;
	height: 0.9rem;
	fill: none;
	stroke: currentcolor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2;
}

/* ==========================================================================
   Motion preferences
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}

/* Destinations hub: region jump links, then one band per region. */
.destinations-jump {
	padding-block: clamp(1.75rem, 4vw, 2.5rem) 0;
}

.destinations-jump .jump-tabs {
	margin-bottom: 0;
}

.destinations-jump + .region-band {
	padding-top: clamp(2.25rem, 5vw, 3.5rem);
}

.region-band {
	scroll-margin-top: var(--header-height, 4.5rem);
}

.region-layout {
	display: grid;
	gap: 1.5rem;
}

.region-heading h2 {
	margin-bottom: 0.5rem;
}

.region-heading p {
	max-width: 34rem;
	margin: 0 0 0.75rem;
	color: var(--muted);
}

.region-heading .region-meta {
	margin-bottom: 0.5rem;
	color: var(--ink);
	font-size: 0.875rem;
	font-weight: 600;
}

.destination-cards {
	display: grid;
	grid-auto-columns: 78%;
	grid-auto-flow: column;
	gap: 0.85rem;
	margin: 0 calc(-1 * var(--gutter));
	padding: 0 var(--gutter) 0.25rem;
	overflow-x: auto;
	list-style: none;
	scroll-padding-inline: var(--gutter);
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.destination-cards::-webkit-scrollbar {
	display: none;
}

.destination-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 18px;
	background: var(--white);
	scroll-snap-align: start;
	transition: border-color 0.2s ease;
}

.destination-card:hover {
	border-color: var(--channel);
}

.destination-card-link {
	display: flex;
	flex: 1;
	flex-direction: column;
	color: var(--ink);
	text-decoration: none;
}

.destination-card-link:focus-visible {
	outline: 2px solid var(--link);
	outline-offset: -2px;
}

.destination-card-media {
	display: block;
	aspect-ratio: 3 / 2;
	background: var(--shallow) center / cover no-repeat;
}

.destination-card-body {
	display: grid;
	flex: 1;
	align-content: start;
	gap: 0.2rem;
	padding: 1rem 1.1rem 1.1rem;
}

.destination-card-name {
	color: var(--channel);
	font-family: var(--font-display);
	font-size: 1.375rem;
	font-weight: 600;
	letter-spacing: -0.015em;
	line-height: 1.15;
}

.destination-card-count {
	color: var(--muted);
	font-size: 0.875rem;
}

.destination-card-facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
	margin-top: 0.75rem;
	padding-top: 0.75rem;
	border-top: 1px solid var(--line);
	font-size: 0.9063rem;
	font-weight: 600;
	line-height: 1.35;
}

.destination-card-fact-label {
	display: block;
	margin-bottom: 0.15rem;
	color: var(--muted);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.destination-card-islands {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	margin: 0;
	padding: 0 1.1rem 1.1rem;
}

.destination-card-islands a {
	padding: 0.2rem 0.65rem;
	border: 1px solid var(--line);
	border-radius: var(--radius-pill);
	color: var(--ink);
	font-size: 0.8125rem;
	font-weight: 600;
	text-decoration: none;
}

.destination-card-islands a:hover {
	border-color: var(--channel);
	color: var(--channel);
}

.region-coming {
	margin: 1.25rem 0 0;
	color: var(--muted);
	font-size: 0.9063rem;
}

.region-coming span {
	margin-right: 0.35rem;
	color: var(--ink);
	font-weight: 600;
}

@media (min-width: 48rem) {
	.destination-cards {
		grid-auto-flow: row;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1rem;
		margin: 0;
		padding: 0;
		overflow: visible;
	}
}

@media (min-width: 64rem) {
	.destination-cards[data-count="3"] {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.destination-cards[data-count="3"] .destination-card-name {
		font-size: 1.25rem;
	}
}

@media (min-width: 75rem) {
	.region-layout {
		grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr);
		gap: 3rem;
		align-items: start;
	}

	.region-heading {
		position: sticky;
		top: calc(var(--header-offset) + 1.5rem);
	}
}

/* ==========================================================================
   Hub planning overview (below the guide grid on destination and type hubs)
   ========================================================================== */

.hub-overview-lead {
	display: grid;
	gap: 1rem 4rem;
	margin-bottom: clamp(2rem, 4vw, 3rem);
}


.hub-overview-title h2 {
	margin: 0;
	font-size: clamp(1.75rem, 3.4vw, 2.5rem);
}

.hub-overview-intro > :last-child {
	margin-bottom: 0;
}

.hub-overview-intro p {
	color: var(--muted);
	font-size: clamp(1.0625rem, 1.4vw, 1.15rem);
	line-height: 1.65;
}

.hub-overview-grid {
	display: grid;
	gap: 1.25rem;
}

.hub-overview-card {
	min-width: 0;
	padding: clamp(1.25rem, 2.5vw, 1.75rem);
	border-top: 2px solid var(--gold);
	border-radius: var(--radius);
	background: var(--shallow);
}

.hub-overview-card h3 {
	margin: 0 0 0.6em;
	font-size: 1.25rem;
}

.hub-overview-card > :last-child {
	margin-bottom: 0;
}

.hub-overview-card p,
.hub-overview-card li {
	font-size: 0.9875rem;
	line-height: 1.6;
}

.hub-overview-card .wp-block-table {
	margin-inline: 0;
}

.hub-overview-card table {
	background: var(--white);
}

.hub-overview-start {
	margin-top: 1.25rem;
	padding: clamp(1.5rem, 3vw, 2.25rem);
	border-radius: var(--radius);
	background: var(--channel);
	color: rgb(255 255 255 / 82%);
}

.hub-overview-start h3 {
	margin: 0 0 1rem;
	color: var(--white);
	font-size: 1.35rem;
}

.hub-overview-start ul {
	display: grid;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hub-overview-start li {
	position: relative;
	margin: 0;
	padding: 0.8rem 0 0.8rem 1.6rem;
	border-top: 1px solid rgb(255 255 255 / 14%);
	font-size: 0.9875rem;
	line-height: 1.5;
}

.hub-overview-start li::before {
	content: "→";
	position: absolute;
	left: 0;
	color: var(--gold);
}

.hub-overview-start a {
	color: var(--white);
	font-weight: 600;
	text-decoration-color: rgb(255 255 255 / 40%);
	text-underline-offset: 0.2em;
}

.hub-overview-start a:hover {
	text-decoration-color: var(--gold);
}

.hub-overview-start p {
	margin: 1rem 0 0;
}

@media (min-width: 48rem) {
	.hub-overview-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hub-overview-card.is-wide,
	.hub-overview-card.is-span {
		grid-column: 1 / -1;
	}

	.hub-overview-grid.is-three > .hub-overview-card:last-child {
		grid-column: 1 / -1;
	}

	.hub-overview-start ul {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 2.5rem;
	}
}

@media (min-width: 64rem) {
	.hub-overview-lead {
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
		align-items: start;
	}

	.hub-overview-grid.is-three {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.hub-overview-grid.is-three > .hub-overview-card:last-child {
		grid-column: auto;
	}
}

/* ==========================================================================
   Trip cost calculator (inside the cost guides)
   ========================================================================== */

.entry-content .cost-calc {
	container: cost-calc / inline-size;
	margin-block: 2.5rem;
	padding: clamp(1.25rem, 3vw, 2rem);
	border-top: 2px solid var(--gold);
	border-radius: var(--radius);
	background: var(--shallow);
}

.cost-calc-head h2 {
	margin: 0 0 0.4em;
	font-size: clamp(1.5rem, 3vw, 1.9rem);
}

.cost-calc-head p:last-child {
	color: var(--muted);
}


.cost-calc-body {
	display: grid;
	gap: 1.5rem;
}

.cost-calc-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.9rem 1rem;
	margin: 0;
}

.cost-calc-field {
	display: grid;
	gap: 0.35rem;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.cost-calc-field--wide {
	grid-column: 1 / -1;
}

.cost-calc-field label,
.cost-calc-field legend {
	padding: 0;
	color: var(--ink);
	font-size: 0.8125rem;
	font-weight: 600;
}

.cost-calc-field select,
.cost-calc-field input[type="number"] {
	width: 100%;
	min-height: 2.75rem;
	padding: 0 0.75rem;
	border: 1px solid var(--line);
	border-radius: var(--radius-medium);
	background: var(--white);
	color: var(--ink);
	font: 1rem/1.2 var(--font-body);
}

.cost-calc-field select:focus,
.cost-calc-field input:focus {
	border-color: var(--lagoon);
	outline: 2px solid rgb(15 95 98 / 20%);
	outline-offset: 0;
}

.cost-calc-segments {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin-top: 0.35rem;
}

.cost-calc-segments label {
	position: relative;
	cursor: pointer;
}

.cost-calc-segments input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.cost-calc-segments span {
	display: inline-flex;
	align-items: center;
	min-height: 2.5rem;
	padding: 0 1rem;
	border: 1px solid var(--line);
	border-radius: var(--radius-pill);
	background: var(--white);
	font-size: 0.875rem;
	font-weight: 600;
}

.cost-calc-segments input:checked + span {
	border-color: var(--channel);
	background: var(--channel);
	color: var(--white);
}

.cost-calc-segments input:focus-visible + span {
	outline: 2px solid var(--link);
	outline-offset: 2px;
}

.cost-calc-segments input:disabled + span {
	opacity: 0.45;
	cursor: not-allowed;
}

.cost-calc-hint {
	margin: 0.35rem 0 0;
	color: var(--muted);
	font-size: 0.8125rem;
}

.cost-calc-result {
	align-self: start;
	padding: clamp(1.25rem, 3vw, 1.6rem);
	border-radius: var(--radius-medium);
	background: var(--channel);
	color: rgb(255 255 255 / 85%);
}

.cost-calc-total-label {
	margin: 0;
	color: var(--gold);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.entry-content .cost-calc-total {
	margin: 0.2rem 0 0.3rem;
	color: var(--white);
	font-family: var(--font-display);
	font-size: clamp(2rem, 5vw, 2.6rem);
	line-height: 1.1;
}

.entry-content .cost-calc-sub {
	margin: 0 0 1rem;
	font-size: 0.875rem;
}

.entry-content .cost-calc-lines {
	width: 100%;
	margin: 0 0 1rem;
	border-collapse: collapse;
	background: none;
	font-size: 0.875rem;
}

.entry-content .cost-calc-lines th,
.entry-content .cost-calc-lines td {
	padding: 0.5rem 0;
	border: 0;
	border-top: 1px solid rgb(255 255 255 / 14%);
	background: none;
	color: inherit;
	font-weight: 400;
	text-align: left;
	vertical-align: top;
}

.entry-content .cost-calc-lines td {
	padding-left: 1rem;
	color: var(--white);
	font-weight: 600;
	text-align: right;
	white-space: nowrap;
}

.entry-content .cost-calc-band,
.entry-content .cost-calc-warn {
	margin: 0 0 1rem;
	font-size: 0.875rem;
}

.cost-calc-band strong {
	color: var(--white);
}

.cost-calc-warn {
	padding-left: 0.75rem;
	border-left: 2px solid var(--gold);
}

.cost-calc-book.button {
	width: 100%;
	border-color: var(--white);
	background: var(--white);
	color: var(--channel);
}

.cost-calc-book.button:hover {
	border-color: var(--gold);
	background: var(--gold);
	color: var(--abyss);
}

.entry-content .cost-calc-foot {
	margin: 1.25rem 0 0;
	color: var(--muted);
	font-size: 0.8125rem;
	line-height: 1.55;
}

@container cost-calc (min-width: 38rem) {
	.cost-calc-body {
		grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
		align-items: start;
	}

	.cost-calc-result {
		position: sticky;
		top: calc(var(--header-offset) + 1rem);
	}
}

/* ==========================================================================
   Sticky "Check rates" bar (phones, inside resort sections)
   ========================================================================== */

.rates-bar {
	position: fixed;
	right: 0.6rem;
	bottom: calc(0.6rem + env(safe-area-inset-bottom));
	left: 0.6rem;
	z-index: 900;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.3rem 0.3rem 0.3rem 0.85rem;
	border: 1px solid var(--line);
	border-radius: var(--radius-pill);
	background: rgb(255 255 255 / 96%);
	box-shadow: 0 0.75rem 2rem -0.75rem rgb(6 39 43 / 35%);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	backdrop-filter: saturate(1.4) blur(10px);
	opacity: 0;
	transform: translateY(calc(100% + 1rem));
	transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
}

.rates-bar[hidden] {
	display: none;
}

.rates-bar.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.rates-bar-text {
	display: grid;
	flex: 1;
	min-width: 0;
	line-height: 1.25;
}

.rates-bar-name {
	overflow: hidden;
	color: var(--channel);
	font-family: var(--font-display);
	font-size: 0.875rem;
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.rates-bar-from {
	overflow: hidden;
	color: var(--muted);
	font-size: 0.6875rem;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.rates-bar-cta {
	display: inline-flex;
	flex: none;
	align-items: center;
	min-height: 2.25rem;
	padding: 0 0.9rem;
	border-radius: var(--radius-pill);
	background: var(--channel);
	color: var(--white);
	font-size: 0.8125rem;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.rates-bar-cta:hover {
	background: var(--abyss);
	color: var(--white);
}

.rates-bar-close {
	display: grid;
	flex: none;
	place-items: center;
	width: 1.75rem;
	height: 1.75rem;
	margin-left: -0.2rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: none;
	color: var(--muted);
	cursor: pointer;
}

.rates-bar-close:hover {
	background: var(--shallow);
	color: var(--channel);
}

@media (min-width: 64rem) {
	.rates-bar {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.rates-bar {
		transition: none;
	}
}

@media print {
	.rates-bar {
		display: none;
	}
}

/* Island Finder: "How it works" below the quiz, matched to the quiz panel width. */
.finder-explainer {
	padding-bottom: var(--band);
}

.finder-explainer-inner {
	display: grid;
	gap: 2rem;
	max-width: 64rem;
	padding-top: clamp(2rem, 4vw, 3rem);
	border-top: 1px solid var(--line);
}


.finder-explainer-copy h2 {
	margin-bottom: 0.6em;
	font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.finder-explainer-copy p {
	color: var(--muted);
	font-size: 1.0625rem;
	line-height: 1.65;
}

.finder-explainer-copy p:last-child {
	margin-bottom: 0;
}

.finder-explainer-aside {
	align-self: start;
	padding: clamp(1.25rem, 2.5vw, 1.6rem);
	border-top: 2px solid var(--gold);
	border-radius: var(--radius);
	background: var(--shallow);
}

.finder-explainer-aside h3 {
	margin: 0 0 0.75rem;
	font-size: 1.2rem;
}

.finder-explainer-aside ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.finder-explainer-aside li + li {
	border-top: 1px solid var(--line);
}

.finder-explainer-aside a {
	display: grid;
	gap: 0.2rem;
	padding: 0.85rem 1.75rem 0.85rem 0;
	position: relative;
	text-decoration: none;
}

.finder-explainer-aside a::after {
	content: "→";
	position: absolute;
	top: 0.85rem;
	right: 0.25rem;
	color: var(--lagoon);
	transition: transform 0.15s ease;
}

.finder-explainer-aside a:hover::after {
	transform: translateX(0.25rem);
}

.finder-explainer-link {
	color: var(--channel);
	font-weight: 600;
}

.finder-explainer-aside a:hover .finder-explainer-link {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

.finder-explainer-note {
	color: var(--muted);
	font-size: 0.875rem;
	line-height: 1.45;
}

@media (min-width: 56rem) {
	.finder-explainer-inner {
		grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
		gap: 3rem;
	}
}
