/*
Theme Name: HIV PEP Phuket
Theme URI: https://hivpepphuket.com/
Author: HIV PEP Phuket
Description: "Andaman" block theme for an HIV PEP clinic in Phuket. Night-sea hero with a two-tap PEP check (72-hour timeline, deadline and pre-filled WhatsApp/LINE message), live "Open now" status in Phuket time, sticky mobile contact bar, and editable homepage sections. Contact details are managed once in Settings → Clinic Details.
Version: 1.0.0
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hivpep
Tags: block-theme, full-site-editing, one-column, custom-colors, editor-style
*/

/* ==========================================================================
   Tokens
   ========================================================================== */

:root {
	--ink: var(--wp--preset--color--ink, #0B2330);
	--ink-2: var(--wp--preset--color--ink-2, #13303F);
	--sea: var(--wp--preset--color--sea, #0A6E73);
	--lagoon: var(--wp--preset--color--lagoon, #3FBFB2);
	--mint: var(--wp--preset--color--mint, #9EE6DC);
	--foam: var(--wp--preset--color--foam, #F4F8F7);
	--sand: var(--wp--preset--color--sand, #F3EBDD);
	--muted: var(--wp--preset--color--muted, #51656E);
	--border: var(--wp--preset--color--border, #D6E2E1);
	--coral: var(--wp--preset--color--coral, #C8412A);
	--coral-light: var(--wp--preset--color--coral-light, #FF8A6B);
	--amber: #F2B35B;
	--on-dark: #C9D6DA;
	--on-dark-muted: #94A9B0;
	--line-green: #06C755;
	--wa-green: #25D366;
	--display: var(--wp--preset--font-family--display);
	--r-sm: 10px;
	--r-md: 16px;
	--r-lg: 24px;
	--shadow-card: 0 1px 2px rgba(11, 35, 48, .06), 0 8px 24px -12px rgba(11, 35, 48, .18);
	--shadow-float: 0 30px 70px -30px rgba(0, 0, 0, .6);
	--hp-header-h: 72px;
	--contours: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='600' viewBox='0 0 1200 600' fill='none' stroke='%239EE6DC' stroke-width='1'%3E%3Cpath d='M0 420c120-40 220 30 340 0s200-110 330-90 210 90 330 60 130-60 200-70'/%3E%3Cpath d='M0 450c120-40 220 30 340 0s200-110 330-90 210 90 330 60 130-60 200-70'/%3E%3Cpath d='M0 480c120-40 220 30 340 0s200-110 330-90 210 90 330 60 130-60 200-70'/%3E%3Cpath d='M0 510c120-40 220 30 340 0s200-110 330-90 210 90 330 60 130-60 200-70'/%3E%3Cpath d='M0 540c120-40 220 30 340 0s200-110 330-90 210 90 330 60 130-60 200-70'/%3E%3Cpath d='M0 570c120-40 220 30 340 0s200-110 330-90 210 90 330 60 130-60 200-70'/%3E%3C/svg%3E");
}

/* Size-matched fallbacks so the swap to the web fonts doesn't shift the layout. */
@font-face {
	font-family: "Bricolage Fallback";
	src: local("Arial");
	size-adjust: 104%;
	ascent-override: 92%;
	descent-override: 26%;
}
@font-face {
	font-family: "Figtree Fallback";
	src: local("Arial");
	size-adjust: 101%;
	ascent-override: 94%;
	descent-override: 25%;
}

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

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--hp-header-h) + 1rem); }
body {
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	font-feature-settings: "ss01";
}
::selection { background: var(--mint); color: var(--ink); }
:where(a, button, input, summary, [tabindex]):focus-visible {
	outline: 3px solid var(--lagoon);
	outline-offset: 3px;
	border-radius: 4px;
}
img { height: auto; }
strong { font-weight: 700; }
h1 em, h2 em, h3 em { font-style: normal; }

.lead { font-size: var(--wp--preset--font-size--lg); line-height: 1.55; color: #2C4350; }

.eyebrow,
.wp-block-heading.is-style-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	margin: 0 0 1rem;
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1.3;
	text-transform: uppercase;
	color: var(--sea);
}
.eyebrow::before {
	content: "";
	width: 1.5rem;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
}
.eyebrow--light,
.has-ink-background-color .eyebrow { color: var(--mint); }

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

.site-main { padding-block: 0; }
.site-main--front > .wp-block-post-content,
.site-main > .wp-block-post-content { margin-block-start: 0; }
.wp-site-blocks > * + *,
.wp-block-post-content > .alignfull + .alignfull { margin-block-start: 0; }

.section { padding-block: var(--wp--preset--spacing--70); }
.section:not(.has-background) + .section:not(.has-background) { padding-top: 0; }
.section-head { max-width: 46rem; margin-bottom: var(--wp--preset--spacing--50); }
.section-head h2 { margin-top: 0; }
.section-head .lead { margin-top: 1.25rem; }

.split { gap: clamp(2rem, 6vw, 5rem) !important; }
.split--top { align-items: flex-start !important; }
.split h2 { margin-top: 0; }
.split--top > .wp-block-column[style*="flex-basis:3"] h2,
.section-prepare h2 { font-size: var(--wp--preset--font-size--xxl); }

/* ==========================================================================
   Buttons
   ========================================================================== */

.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	transition: background-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
	text-decoration: none;
}
.wp-block-button__link:hover { transform: translateY(-1px); }
.wp-block-button__link:active { transform: none; }

.wp-block-button.is-style-urgent .wp-block-button__link { background: var(--coral); color: #fff; }
.wp-block-button.is-style-urgent .wp-block-button__link:hover { background: #A83520; }
.wp-block-button.is-style-line .wp-block-button__link { background: var(--line-green); color: var(--ink); }
.wp-block-button.is-style-line .wp-block-button__link:hover { background: #05B34C; }
.wp-block-button.is-style-whatsapp .wp-block-button__link { background: var(--wa-green); color: var(--ink); }
.wp-block-button.is-style-whatsapp .wp-block-button__link:hover { background: #1FBE5B; }
.wp-block-button.is-style-light .wp-block-button__link { background: #fff; color: var(--ink); }
.wp-block-button.is-style-light .wp-block-button__link:hover { background: var(--mint); }
.wp-block-button.is-style-ghost .wp-block-button__link {
	background: transparent;
	color: var(--ink);
	box-shadow: inset 0 0 0 1.5px var(--ink);
}
.wp-block-button.is-style-ghost .wp-block-button__link:hover { background: var(--ink); color: #fff; }
.has-ink-background-color .wp-block-button.is-style-ghost .wp-block-button__link { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.6); }

/* Icons on contact buttons. */
.wp-block-button.is-style-whatsapp .wp-block-button__link::before,
.wp-block-button.is-style-line .wp-block-button__link::before,
.wp-block-button.is-style-urgent .wp-block-button__link::before,
.wp-block-button.is-style-light .wp-block-button__link[href^="tel:"]::before {
	content: "";
	width: 1.15em;
	height: 1.15em;
	flex: none;
	background: currentColor;
	-webkit-mask: var(--hp-icon) center / contain no-repeat;
	mask: var(--hp-icon) center / contain no-repeat;
}
.wp-block-button.is-style-whatsapp .wp-block-button__link::before,
.wp-block-button.is-style-line .wp-block-button__link::before { --hp-icon: var(--icon-chat); }
.wp-block-button.is-style-urgent .wp-block-button__link::before,
.wp-block-button.is-style-light .wp-block-button__link[href^="tel:"]::before { --hp-icon: var(--icon-phone); }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(244, 248, 247, .86);
	-webkit-backdrop-filter: saturate(1.4) blur(14px);
	backdrop-filter: saturate(1.4) blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.admin-bar .site-header { top: var(--wp-admin--admin-bar--height, 32px); }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.site-header.is-scrolled { border-bottom-color: var(--border); box-shadow: 0 6px 20px -16px rgba(11, 35, 48, .5); }
.site-header__bar { padding-block: 0.85rem; }
.site-header__inner { gap: 1.5rem; }

.site-brand { gap: 0.65rem; flex: none; }
.site-brand .wp-block-site-title { margin: 0; line-height: 1; }
.site-brand .wp-block-site-title a { color: var(--ink); text-decoration: none; }
.site-brand:not(:has(.wp-block-site-logo img))::before {
	content: "";
	width: 38px;
	height: 38px;
	flex: none;
	border-radius: 11px;
	background: url("assets/icons/icon.svg") center / cover no-repeat;
}

.site-nav .wp-block-navigation-item__content {
	padding: 0.45rem 0.1rem;
	color: var(--ink);
	text-decoration: none;
	background-image: linear-gradient(var(--sea), var(--sea));
	background-size: 0 2px;
	background-position: 0 100%;
	background-repeat: no-repeat;
	transition: background-size .2s ease, color .2s ease;
}
.site-nav .wp-block-navigation-item__content:hover,
.site-nav .current-menu-item > .wp-block-navigation-item__content { color: var(--sea); background-size: 100% 2px; }
.site-nav .wp-block-navigation__container { gap: 1.6rem; }

.site-header__right { gap: 0.9rem; flex: none; }
.site-header__right p { margin: 0; }
.site-header__cta .wp-block-button__link { padding: 0.7rem 1.15rem; font-size: 0.9375rem; }

@media (max-width: 1240px) { .site-header .hp-open { display: none; } }
@media (min-width: 600px) and (max-width: 1060px) {
	.site-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.site-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
}
@media (max-width: 1060px) {
	.site-header__inner { gap: 0.75rem; }
	.site-nav { order: 3; }
	.site-header__right { margin-left: auto; }
}
@media (max-width: 480px) {
	.site-brand .wp-block-site-title { font-size: 1.05rem; }
	.site-header__cta .wp-block-button__link { padding: 0.6rem 0.9rem; font-size: 0.875rem; }
}

.wp-block-navigation__responsive-container-open,
.wp-block-navigation__responsive-container-close { color: var(--ink); }
.wp-block-navigation__responsive-container.is-menu-open {
	padding: 1.25rem clamp(1rem, 5vw, 2rem) 2rem;
	background: var(--foam) !important;
	color: var(--ink) !important;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 0.2rem; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	padding-block: 0.35rem;
	font-family: var(--display);
	font-size: 2rem;
	font-weight: 700;
	letter-spacing: -0.02em;
}

/* Open / closed pill. */
.hp-open {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.4rem 0.8rem;
	border-radius: 999px;
	background: #fff;
	box-shadow: inset 0 0 0 1px var(--border);
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
	color: var(--ink);
}
.hp-open__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--on-dark-muted); flex: none; }
.hp-open[data-state="open"] .hp-open__dot { background: #1FA35B; box-shadow: 0 0 0 0 rgba(31, 163, 91, .5); animation: hp-pulse 2.2s infinite; }
.hp-open[data-state="closed"] .hp-open__dot { background: var(--coral); }
.has-ink-background-color .hp-open { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); color: #fff; }

@keyframes hp-pulse {
	0% { box-shadow: 0 0 0 0 rgba(31, 163, 91, .45); }
	70% { box-shadow: 0 0 0 8px rgba(31, 163, 91, 0); }
	100% { box-shadow: 0 0 0 0 rgba(31, 163, 91, 0); }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.section-hero {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	padding-block: clamp(2.5rem, 6vw, 5.5rem) clamp(3.5rem, 7vw, 6.5rem);
	background:
		radial-gradient(60% 70% at 88% 8%, rgba(255, 138, 107, .22), transparent 60%),
		radial-gradient(55% 60% at 0% 100%, rgba(63, 191, 178, .28), transparent 65%),
		var(--ink);
	color: #fff;
}
.section-hero::before {
	content: "";
	position: absolute;
	inset: auto 0 0 0;
	height: 70%;
	z-index: -1;
	background: var(--contours) bottom center / 1400px auto repeat-x;
	opacity: .16;
}
/* Low sun on the horizon. */
.section-hero::after {
	content: "";
	position: absolute;
	z-index: -1;
	top: clamp(-10rem, -8vw, -4rem);
	right: clamp(-8rem, -4vw, -2rem);
	width: clamp(16rem, 32vw, 30rem);
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle at 40% 60%, rgba(255, 138, 107, .55), rgba(200, 65, 42, .18) 55%, transparent 70%);
	filter: blur(2px);
}
.hero-grid { gap: clamp(2rem, 5vw, 4.5rem) !important; }
.hero-copy > * { max-width: 40rem; }
.hero-title {
	margin: 0.25rem 0 1.25rem;
	color: #fff;
	font-size: var(--wp--preset--font-size--display);
	font-variation-settings: "opsz" 96;
	line-height: 1.03;
	letter-spacing: -0.028em;
	text-wrap: balance;
}
.hero-title em { color: var(--mint); }
.hero-lead { margin: 0 0 1.75rem; font-size: var(--wp--preset--font-size--lg); line-height: 1.55; color: var(--on-dark); }
.hero-buttons { gap: 0.65rem; }
.hero-facts {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
	margin: 2.5rem 0 0;
	padding: 1.5rem 0 0;
	list-style: none;
	border-top: 1px solid rgba(255, 255, 255, .14);
	font-size: 0.875rem;
	color: var(--on-dark-muted);
}
.hero-facts li { line-height: 1.35; }
.hero-facts strong {
	display: block;
	margin-bottom: 0.2rem;
	font-family: var(--display);
	font-size: 1.375rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: #fff;
}
@media (max-width: 781px) {
	.hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hero-buttons .wp-block-button { flex: 1 1 auto; }
	.hero-buttons .wp-block-button__link { width: 100%; }
}

/* ==========================================================================
   PEP check block
   ========================================================================== */

.pep-check {
	--state: var(--sea);
	position: relative;
	padding: clamp(1.25rem, 3vw, 1.85rem);
	border-radius: var(--r-lg);
	background: #fff;
	color: var(--ink);
	box-shadow: var(--shadow-float);
}
.pep-check[data-state="warn"] { --state: #B06A00; }
.pep-check[data-state="urgent"],
.pep-check[data-state="error"] { --state: var(--coral); }
.pep-check[data-state="late"] { --state: var(--muted); }

.pep-check__head { margin-bottom: 1.1rem; }
.pep-check__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin: 0 0 0.6rem;
	padding: 0.3rem 0.7rem;
	border-radius: 999px;
	background: #FCEDE9;
	color: #9E2F1C;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.pep-check__pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); animation: hp-pulse-coral 2s infinite; }
@keyframes hp-pulse-coral {
	0% { box-shadow: 0 0 0 0 rgba(200, 65, 42, .45); }
	70% { box-shadow: 0 0 0 7px rgba(200, 65, 42, 0); }
	100% { box-shadow: 0 0 0 0 rgba(200, 65, 42, 0); }
}
.pep-check__title {
	margin: 0;
	font-size: clamp(1.35rem, 2.2vw, 1.65rem);
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: var(--ink);
}
.pep-check__intro { margin: 0.4rem 0 0; font-size: 0.875rem; color: var(--muted); }

.pep-check__step { margin: 0 0 1rem; padding: 0; border: 0; min-width: 0; }
.pep-check__step legend {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	margin-bottom: 0.6rem;
	padding: 0;
	font-weight: 700;
	font-size: 0.9375rem;
}
.pep-check__num {
	display: inline-grid;
	place-items: center;
	width: 1.5rem;
	height: 1.5rem;
	border-radius: 50%;
	background: var(--ink);
	color: #fff;
	font-size: 0.75rem;
}
.pep-check__chips { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.pep-chip { position: relative; cursor: pointer; }
.pep-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pep-chip span {
	display: inline-block;
	padding: 0.5rem 0.85rem;
	border-radius: 999px;
	background: var(--foam);
	box-shadow: inset 0 0 0 1.5px var(--border);
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.25;
	transition: background-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.pep-chip:hover span { box-shadow: inset 0 0 0 1.5px var(--sea); }
.pep-chip input:checked + span { background: var(--ink); color: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); }
.pep-chip input:focus-visible + span { outline: 3px solid var(--lagoon); outline-offset: 2px; }

.pep-check__exact { margin-top: 0.65rem; font-size: 0.875rem; }
.pep-check__exact summary { cursor: pointer; color: var(--sea); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.pep-check__input {
	display: block;
	width: 100%;
	max-width: 20rem;
	margin-top: 0.5rem;
	padding: 0.65rem 0.8rem;
	border: 1.5px solid var(--border);
	border-radius: var(--r-sm);
	background: #fff;
	font: inherit;
	color: var(--ink);
}

/* 72-hour tide timeline. */
.pep-tide { margin: 1.1rem 0 0.9rem; }
.pep-tide__bar {
	position: relative;
	height: 10px;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--mint) 0%, var(--lagoon) 30%, var(--amber) 66%, var(--coral-light) 88%, var(--coral) 100%);
}
.pep-tide__best {
	position: absolute;
	left: 0;
	top: -4px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--mint);
	box-shadow: 0 0 0 3px #fff;
}
.pep-tide__you {
	position: absolute;
	top: 50%;
	left: var(--pos, 0%);
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 0 0 4px var(--state), 0 4px 10px rgba(11, 35, 48, .35);
	transform: translate(-50%, -50%) scale(0);
	transition: left .45s cubic-bezier(.2, .8, .2, 1), transform .3s ease, box-shadow .3s ease;
}
.pep-check.has-time .pep-tide__you { transform: translate(-50%, -50%) scale(1); }
.pep-tide__scale {
	display: flex;
	justify-content: space-between;
	margin-top: 0.45rem;
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--muted);
	font-variant-numeric: tabular-nums;
}

.pep-check__result {
	padding: 0.9rem 1rem;
	border-radius: var(--r-md);
	background: var(--foam);
	box-shadow: inset 4px 0 0 var(--state);
	transition: box-shadow .3s ease;
}
.pep-check__result p { margin: 0; }
.pep-check__verdict { font-family: var(--display); font-weight: 700; font-size: 1.125rem; line-height: 1.25; letter-spacing: -0.01em; color: var(--ink); }
.pep-check[data-state="urgent"] .pep-check__verdict,
.pep-check[data-state="error"] .pep-check__verdict { color: var(--coral); }
.pep-check__text { margin-top: 0.3rem !important; font-size: 0.9375rem; line-height: 1.5; color: #2C4350; }
.pep-check__deadline {
	margin-top: 0.6rem !important;
	padding: 0.45rem 0.7rem;
	border-radius: var(--r-sm);
	background: #fff;
	font-weight: 700;
	font-size: 0.875rem;
	font-variant-numeric: tabular-nums;
}
.pep-check__support { margin-top: 0.6rem !important; padding: 0.6rem 0.75rem; border-radius: var(--r-sm); background: var(--sand); font-size: 0.875rem; line-height: 1.5; }

.pep-check__actions {
	display: grid;
	grid-template-columns: 1.7fr 1fr 1fr;
	gap: 0.5rem;
	margin-top: 1rem;
}
.pep-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	min-height: 3rem;
	padding: 0.7rem 0.9rem;
	border-radius: 999px;
	font-weight: 700;
	font-size: 0.9375rem;
	line-height: 1.15;
	text-align: center;
	text-decoration: none;
	transition: background-color .15s ease, transform .15s ease;
}
.pep-btn:hover { transform: translateY(-1px); }
.pep-btn .hp-icon { width: 1.1em; height: 1.1em; flex: none; }
.pep-btn--wa { background: var(--wa-green); color: var(--ink); }
.pep-btn--wa:hover { background: #1FBE5B; color: var(--ink); }
.pep-btn--line { background: var(--line-green); color: var(--ink); }
.pep-btn--line:hover { background: #05B34C; color: var(--ink); }
.pep-btn--call { background: var(--ink); color: #fff; }
.pep-btn--call:hover { background: var(--sea); color: #fff; }
.pep-check__note { margin: 0.8rem 0 0; font-size: 0.75rem; line-height: 1.45; color: var(--muted); }

@media (max-width: 420px) {
	.pep-check__actions { grid-template-columns: 1fr 1fr; }
	.pep-btn--wa { grid-column: 1 / -1; }
}

/* ==========================================================================
   Icons on cards (.hp-i + .hp-i--name)
   ========================================================================== */

.hp-i { position: relative; }
.hp-i::before {
	content: "";
	display: block;
	width: 48px;
	height: 48px;
	margin-bottom: 1.1rem;
	border-radius: 14px;
	background: var(--hp-icon-sea) center / 24px no-repeat, var(--hp-tile, rgba(10, 110, 115, .1));
}
.service--featured.hp-i::before { background-image: var(--hp-icon-mint); }
/* Inline variant: icon to the left of the text. */
.contact__row.hp-i,
.promise.hp-i,
h3.hp-i { padding-left: 64px; min-height: 48px; }
.contact__row.hp-i::before,
.promise.hp-i::before,
h3.hp-i::before { position: absolute; left: 0; top: 0; margin: 0; }
h3.hp-i { display: flex; align-items: center; }

:root {
	--icon-chat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a8 8 0 01-11.6 7.1L4 20l1-4.6A8 8 0 1121 12z'/%3E%3C/svg%3E");
	--icon-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 005 5L15 13l5 2v4a2 2 0 01-2 2A16 16 0 013 6a2 2 0 012-2z'/%3E%3C/svg%3E");
	--icon-arrow-sea: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A6E73' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
	--icon-check-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
	--icon-plus-ink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B2330' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
}
.hp-i--clock { --hp-icon-sea: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A6E73' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); --hp-icon-mint: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239EE6DC' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
.hp-i--shield { --hp-icon-sea: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A6E73' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 3v6c0 5-3.5 8-8 9-4.5-1-8-4-8-9V6z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E"); --hp-icon-mint: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239EE6DC' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 3v6c0 5-3.5 8-8 9-4.5-1-8-4-8-9V6z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E"); }
.hp-i--lock { --hp-icon-sea: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A6E73' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 018 0v3'/%3E%3C/svg%3E"); --hp-icon-mint: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239EE6DC' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 018 0v3'/%3E%3C/svg%3E"); }
.hp-i--chat { --hp-icon-sea: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A6E73' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a8 8 0 01-11.6 7.1L4 20l1-4.6A8 8 0 1121 12z'/%3E%3C/svg%3E"); --hp-icon-mint: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239EE6DC' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a8 8 0 01-11.6 7.1L4 20l1-4.6A8 8 0 1121 12z'/%3E%3C/svg%3E"); }
.hp-i--phone { --hp-icon-sea: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A6E73' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 005 5L15 13l5 2v4a2 2 0 01-2 2A16 16 0 013 6a2 2 0 012-2z'/%3E%3C/svg%3E"); --hp-icon-mint: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239EE6DC' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 005 5L15 13l5 2v4a2 2 0 01-2 2A16 16 0 013 6a2 2 0 012-2z'/%3E%3C/svg%3E"); }
.hp-i--pin { --hp-icon-sea: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A6E73' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11a7 7 0 0114 0c0 4.8-7 11-7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E"); --hp-icon-mint: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239EE6DC' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11a7 7 0 0114 0c0 4.8-7 11-7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E"); }
.hp-i--pill { --hp-icon-sea: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A6E73' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='8.5' width='18' height='7' rx='3.5' transform='rotate%28-45 12 12%29'/%3E%3Cpath d='M9.5 9.5l5 5'/%3E%3C/svg%3E"); --hp-icon-mint: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239EE6DC' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='8.5' width='18' height='7' rx='3.5' transform='rotate%28-45 12 12%29'/%3E%3Cpath d='M9.5 9.5l5 5'/%3E%3C/svg%3E"); }
.hp-i--test { --hp-icon-sea: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A6E73' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 3h6M10 3v6l-5 9a2 2 0 002 3h10a2 2 0 002-3l-5-9V3'/%3E%3Cpath d='M7.5 15h9'/%3E%3C/svg%3E"); --hp-icon-mint: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239EE6DC' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 3h6M10 3v6l-5 9a2 2 0 002 3h10a2 2 0 002-3l-5-9V3'/%3E%3Cpath d='M7.5 15h9'/%3E%3C/svg%3E"); }
.hp-i--heart { --hp-icon-sea: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A6E73' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7-4.4-7-10a4 4 0 017-2.6A4 4 0 0119 10c0 5.6-7 10-7 10z'/%3E%3C/svg%3E"); --hp-icon-mint: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239EE6DC' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7-4.4-7-10a4 4 0 017-2.6A4 4 0 0119 10c0 5.6-7 10-7 10z'/%3E%3C/svg%3E"); }
.hp-i--globe { --hp-icon-sea: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A6E73' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3a14 14 0 010 18M12 3a14 14 0 000 18'/%3E%3C/svg%3E"); --hp-icon-mint: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239EE6DC' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3a14 14 0 010 18M12 3a14 14 0 000 18'/%3E%3C/svg%3E"); }
.hp-i--plane { --hp-icon-sea: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A6E73' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.5 13.5L3 11l1.5-1.5 8 1 4-4.5a2 2 0 013 3l-4.5 4 1 8L14.5 22 12 14.5'/%3E%3C/svg%3E"); --hp-icon-mint: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239EE6DC' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.5 13.5L3 11l1.5-1.5 8 1 4-4.5a2 2 0 013 3l-4.5 4 1 8L14.5 22 12 14.5'/%3E%3C/svg%3E"); }
.hp-i--wave { --hp-icon-sea: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A6E73' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 15c2.5 0 2.5-2 5-2s2.5 2 5 2 2.5-2 5-2 2.5 2 5 2'/%3E%3Cpath d='M2 9c2.5 0 2.5-2 5-2s2.5 2 5 2 2.5-2 5-2 2.5 2 5 2'/%3E%3C/svg%3E"); --hp-icon-mint: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239EE6DC' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 15c2.5 0 2.5-2 5-2s2.5 2 5 2 2.5-2 5-2 2.5 2 5 2'/%3E%3Cpath d='M2 9c2.5 0 2.5-2 5-2s2.5 2 5 2 2.5-2 5-2 2.5 2 5 2'/%3E%3C/svg%3E"); }

/* ==========================================================================
   Trust strip
   ========================================================================== */

.section-trust { background: #fff; border-bottom: 1px solid var(--border); }
.trust { column-gap: 2rem; }
.trust__item { padding-block: clamp(1.5rem, 3vw, 2.25rem); }
.trust__item h3 { margin: 0 0 0.3rem; font-size: 1.125rem; }
.trust__item p { margin: 0; font-size: 0.9375rem; line-height: 1.5; color: var(--muted); }
@media (max-width: 781px) {
	.trust { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; column-gap: 1rem; }
	.trust__item { padding-block: 1.25rem; }
	.trust__item.hp-i::before { width: 40px; height: 40px; margin-bottom: 0.7rem; border-radius: 12px; background-size: 20px, auto; }
	.trust__item h3 { font-size: 1rem; }
	.trust__item p { font-size: 0.875rem; }
}

/* ==========================================================================
   Steps
   ========================================================================== */

.steps { gap: 1.25rem !important; counter-reset: step; }
.step {
	position: relative;
	padding: clamp(1.5rem, 3vw, 2rem);
	border-radius: var(--r-lg);
	background: #fff;
	box-shadow: inset 0 0 0 1px var(--border);
}
.step__num {
	margin: 0 0 1.25rem;
	font-family: var(--display);
	font-size: 3.5rem;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.04em;
	color: transparent;
	-webkit-text-stroke: 1.5px var(--sea);
}
.step__photo { margin: calc(-1 * clamp(1.5rem, 3vw, 2rem)) calc(-1 * clamp(1.5rem, 3vw, 2rem)) 1.25rem !important; }
.step__photo img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-lg) var(--r-lg) 0 0; }
.step:has(.step__photo) .step__num { position: absolute; top: 1rem; left: 1rem; margin: 0; padding: 0.35rem 0.6rem; border-radius: 12px; background: rgba(255, 255, 255, .92); font-size: 1.75rem; }
.step:has(.step__photo)::after { top: 30%; }
.step { overflow: visible; }
.step h3 { margin: 0 0 0.5rem; }
.step p:last-child { margin: 0; color: var(--muted); }
@media (min-width: 900px) {
	.step:not(:last-child)::after {
		content: "";
		position: absolute;
		top: 2.6rem;
		right: -1.1rem;
		z-index: 1;
		width: 2rem;
		height: 2rem;
		border-radius: 50%;
		background: var(--foam) var(--icon-arrow-sea) center / 1rem no-repeat;
		box-shadow: inset 0 0 0 1px var(--border);
	}
}

/* ==========================================================================
   About PEP / facts card
   ========================================================================== */

.is-style-card,
.is-style-card-sand,
.is-style-card-dark {
	padding: clamp(1.5rem, 3vw, 2.25rem);
	border-radius: var(--r-lg);
}
.is-style-card { background: #fff; box-shadow: var(--shadow-card); }
.is-style-card-sand { background: var(--sand); }
.is-style-card-dark { background: var(--ink); color: #fff; }
.is-style-card-dark :where(h2, h3, h4) { color: #fff; }

.facts__title { margin: 0 0 0.75rem; }
.facts__list { margin: 0; padding: 0; list-style: none; }
.facts__list li { padding: 0.9rem 0; border-top: 1px solid rgba(11, 35, 48, .12); line-height: 1.5; }
.facts__list li:last-child { padding-bottom: 0; }
.facts__list strong {
	display: block;
	margin-bottom: 0.15rem;
	font-size: 0.75rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--sea);
}

/* ==========================================================================
   72-hour window (tide)
   ========================================================================== */

.section-window { position: relative; overflow: hidden; isolation: isolate; }
.section-window::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--contours) center 120% / 1600px auto repeat-x;
	opacity: .1;
}
.section-window .lead { color: var(--on-dark); }
.section-window h2 { color: #fff; }
.tide { margin-top: var(--wp--preset--spacing--50); }
.tide__bar.wp-block-separator {
	height: 12px;
	margin: 0 0 1.75rem;
	border: 0;
	border-radius: 999px;
	opacity: 1;
	background: linear-gradient(90deg, var(--mint) 0%, var(--lagoon) 25%, var(--amber) 62%, var(--coral-light) 85%, rgba(255, 255, 255, .15) 85.5%);
}
.tide__cols { gap: 1.5rem !important; }
.tide__col { padding-top: 1.1rem; border-top: 2px solid var(--tide, var(--mint)); }
.tide__col--good { --tide: var(--lagoon); }
.tide__col--warn { --tide: var(--amber); }
.tide__col--late { --tide: var(--coral-light); }
.tide__time { margin: 0 0 0.35rem; font-family: var(--display); font-size: 1.625rem; font-weight: 700; letter-spacing: -0.02em; color: var(--tide, var(--mint)); }
.tide__col h3 { margin: 0 0 0.4rem; font-size: 1.125rem; }
.tide__col p:last-child { margin: 0; font-size: 0.9375rem; color: var(--on-dark); }
.section-window__cta { margin-top: var(--wp--preset--spacing--50); }
@media (max-width: 900px) { .tide__cols { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 520px) { .tide__cols { grid-template-columns: 1fr !important; } }

/* ==========================================================================
   Services
   ========================================================================== */

.services { gap: 1.25rem !important; }
.service {
	display: flex;
	flex-direction: column;
	padding: clamp(1.5rem, 3vw, 2rem);
	border-radius: var(--r-lg);
	background: #fff;
	box-shadow: inset 0 0 0 1px var(--border);
	transition: transform .2s ease, box-shadow .2s ease;
}
.service:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--border), var(--shadow-card); }
.service h3 { margin: 0 0 0.5rem; }
.service p { margin: 0 0 1rem; color: var(--muted); font-size: 0.9875rem; }
.service__link { margin-top: auto !important; margin-bottom: 0 !important; }
.service__link a { font-weight: 700; text-decoration: none; color: var(--sea); }
.service__link a::after { content: " →"; transition: margin .2s ease; }
.service__link a:hover::after { margin-left: 0.25rem; }
.service__tag {
	position: absolute;
	top: clamp(1.5rem, 3vw, 2rem);
	right: clamp(1.5rem, 3vw, 2rem);
	margin: 0 !important;
	font-size: 0.75rem !important;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--coral-light) !important;
}
.service--featured {
	--hp-tile: rgba(158, 230, 220, .14);
	background: var(--ink);
	color: #fff;
	box-shadow: none;
}
.service--featured h3 { color: #fff; }
.service--featured p { color: var(--on-dark); }
.service--featured .service__link a { color: var(--mint); }

/* ==========================================================================
   Travellers
   ========================================================================== */

.is-style-checks { margin: 1.5rem 0; padding: 0; list-style: none; }
.is-style-checks li { position: relative; margin: 0 0 0.8rem; padding-left: 2.1rem; line-height: 1.5; }
.is-style-checks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.05em;
	width: 1.45rem;
	height: 1.45rem;
	border-radius: 50%;
	background: var(--sea) var(--icon-check-white) center / 0.85rem no-repeat;
}
.travel-photo { position: relative; z-index: 0; margin: 0 0 -3rem !important; }
.travel-photo img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-lg); }
.travel-photo + .areas { position: relative; z-index: 1; margin: 0 1.25rem !important; }
.areas h3 { margin: 0 0 1.25rem; font-size: 1.25rem; }
.areas__list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1.25rem; padding: 0; list-style: none; }
.areas__list li {
	padding: 0.45rem 0.9rem;
	border-radius: 999px;
	background: var(--foam);
	box-shadow: inset 0 0 0 1px var(--border);
	font-size: 0.9rem;
	font-weight: 600;
}
.areas__note { color: var(--muted); font-size: 0.9375rem; }

.timeline { margin: 1.5rem 0 0; padding: 0; list-style: none; }
.timeline li { position: relative; padding: 0 0 1.4rem 2.25rem; line-height: 1.5; color: #2C4350; }
.timeline li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.3rem;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: #fff;
	box-shadow: inset 0 0 0 3px var(--sea);
}
.timeline li:first-child::before { background: var(--sea); }
.timeline li::after { content: ""; position: absolute; left: 6px; top: 1.35rem; bottom: 0.1rem; width: 2px; background: var(--border); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::after { display: none; }
.timeline strong { display: block; font-family: var(--display); font-size: 1.0625rem; color: var(--ink); }

/* ==========================================================================
   Privacy promises
   ========================================================================== */

.promises { display: grid; gap: 0; }
.promise { padding-block: 1.4rem; border-top: 1px solid var(--border); }
.promise.hp-i::before { top: 1.4rem; }
.promise:last-child { border-bottom: 1px solid var(--border); }
.promise h3 { margin: 0 0 0.3rem; font-size: 1.1875rem; }
.promise p { margin: 0; color: var(--muted); }

/* ==========================================================================
   FAQ
   ========================================================================== */

.wp-block-details.is-style-faq {
	margin: 0 0 0.75rem;
	border-radius: var(--r-md);
	background: #fff;
	box-shadow: inset 0 0 0 1px var(--border);
	transition: box-shadow .2s ease;
}
.section-faq--more .wp-block-details.is-style-faq { background: var(--foam); }
.wp-block-details.is-style-faq[open] { box-shadow: inset 0 0 0 1.5px var(--sea); }
.wp-block-details.is-style-faq summary {
	position: relative;
	padding: 1.15rem 3.5rem 1.15rem 1.35rem;
	list-style: none;
	cursor: pointer;
	font-family: var(--display);
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: -0.01em;
}
.wp-block-details.is-style-faq summary::-webkit-details-marker { display: none; }
.wp-block-details.is-style-faq summary::after {
	content: "";
	position: absolute;
	right: 1.1rem;
	top: 50%;
	width: 1.75rem;
	height: 1.75rem;
	margin-top: -0.875rem;
	border-radius: 50%;
	background: var(--foam) var(--icon-plus-ink) center / 0.9rem no-repeat;
	transition: transform .25s ease, background-color .2s ease;
}
.wp-block-details.is-style-faq[open] summary::after { transform: rotate(45deg); background-color: var(--mint); }
.wp-block-details.is-style-faq > :not(summary) { margin: 0; padding: 0 1.35rem 1.25rem; color: #2C4350; }

/* ==========================================================================
   Contact
   ========================================================================== */

.contact { gap: clamp(2rem, 5vw, 4rem) !important; align-items: stretch !important; }
.contact__info h2 { margin: 0 0 1rem; }
.contact__rows { margin: 1.75rem 0; }
.contact__row { padding-block: 0.25rem; margin-bottom: 1.1rem; --hp-tile: #fff; }
.contact__row h3 { margin: 0 0 0.15rem; font-family: var(--wp--preset--font-family--body); font-size: 0.8125rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.contact__row p, .contact__row .hp-address { margin: 0; font-weight: 600; }
.contact__buttons { gap: 0.5rem; }
.hp-map {
	height: 100%;
	min-height: var(--hp-map-h, 420px);
	border-radius: var(--r-lg);
	overflow: hidden;
	background: var(--sand);
	box-shadow: inset 0 0 0 1px var(--border);
}
.hp-map iframe { display: block; width: 100%; height: 100%; min-height: var(--hp-map-h, 420px); border: 0; }

/* ==========================================================================
   Final CTA
   ========================================================================== */

.section-cta { padding-block: 0 var(--wp--preset--spacing--70); }
.cta {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	padding: clamp(2rem, 6vw, 4.5rem);
	border-radius: 32px;
	background: linear-gradient(135deg, var(--sea) 0%, var(--ink) 75%);
	color: #fff;
}
.cta::before {
	content: "";
	position: absolute;
	z-index: -1;
	right: -6rem;
	bottom: -9rem;
	width: 24rem;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 138, 107, .5), transparent 65%);
}
.cta::after {
	content: "";
	position: absolute;
	inset: auto 0 0 0;
	height: 60%;
	z-index: -1;
	background: var(--contours) bottom center / 1200px auto repeat-x;
	opacity: .12;
}
.cta__title { max-width: 22ch; margin: 0 0 1rem; color: #fff; font-size: var(--wp--preset--font-size--xxxl); text-wrap: balance; }
.cta__title em { color: var(--mint); }
.cta__text { max-width: 36rem; margin: 0 0 2rem; color: var(--on-dark); font-size: var(--wp--preset--font-size--lg); }
.cta__buttons { gap: 0.65rem; }

/* ==========================================================================
   Related pages
   ========================================================================== */

.related {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.related__link {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 0.25rem 1rem;
	height: 100%;
	padding: 1.4rem 1.5rem;
	border-radius: var(--r-md);
	background: #fff;
	box-shadow: inset 0 0 0 1px var(--border);
	color: var(--ink);
	text-decoration: none;
	transition: box-shadow .2s ease, transform .2s ease;
}
.related__link:hover { color: var(--ink); transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px var(--sea); }
.related__num { grid-column: 1; font-size: 0.75rem; font-weight: 700; color: var(--sea); letter-spacing: 0.1em; }
.related__title { grid-column: 1; font-family: var(--display); font-weight: 700; font-size: 1.1875rem; line-height: 1.2; }
.related__text { grid-column: 1; font-size: 0.9rem; color: var(--muted); }
.related__arrow { grid-column: 2; grid-row: 1 / span 3; align-self: center; font-size: 1.25rem; color: var(--sea); }

/* ==========================================================================
   Inner page hero, breadcrumbs, content
   ========================================================================== */

.page-hero {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	padding-block: clamp(2.5rem, 6vw, 5rem);
	background:
		radial-gradient(50% 80% at 100% 0%, rgba(255, 138, 107, .18), transparent 60%),
		var(--ink);
	color: #fff;
}
.page-hero::before {
	content: "";
	position: absolute;
	inset: auto 0 0 0;
	height: 80%;
	z-index: -1;
	background: var(--contours) bottom center / 1400px auto repeat-x;
	opacity: .12;
}
.page-hero__title { margin: 0.5rem 0 1rem; color: #fff; font-size: var(--wp--preset--font-size--xxxl); max-width: 22ch; text-wrap: balance; }
.page-hero__lead { max-width: 44rem; color: var(--on-dark); font-size: var(--wp--preset--font-size--lg); }
.page-hero__lead p { margin: 0; }
.page-hero .post-meta { gap: 1rem; margin-top: 1.25rem; font-size: 0.875rem; color: var(--on-dark-muted); }
.page-hero .post-meta a { color: var(--mint); }

.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; padding: 0; list-style: none; font-size: 0.8125rem; color: var(--on-dark-muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 0.4rem; opacity: .6; }
.breadcrumbs a { color: var(--mint); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

.page-content > :not(.alignfull):first-child { margin-top: var(--wp--preset--spacing--60); }
.page-content > :not(.alignfull):last-child { margin-bottom: var(--wp--preset--spacing--60); }
.page-content > .alignfull.section:first-child { padding-top: var(--wp--preset--spacing--60); }
.site-main--post .page-content { padding-block: var(--wp--preset--spacing--60); }
.site-main--post .page-content h2 { font-size: var(--wp--preset--font-size--xxl); margin-top: 2.5rem; }

/* Blog cards */
.wp-block-post-template .is-style-card { height: 100%; }
.wp-block-post-template .wp-block-post-title a { color: var(--ink); text-decoration: none; }
.wp-block-post-template .wp-block-post-title a:hover { color: var(--sea); }

/* ==========================================================================
   Footer + mobile action bar
   ========================================================================== */

.site-footer { padding-block: clamp(3.5rem, 7vw, 5.5rem) 2rem; margin-top: 0 !important; }
.site-footer__grid { gap: clamp(2rem, 4vw, 3.5rem) !important; }
.site-footer .wp-block-site-title { margin: 0 0 0.75rem; font-size: 1.5rem; }
.site-footer .wp-block-site-title a { color: #fff; text-decoration: none; }
.site-footer__about { color: var(--on-dark); font-size: 0.9375rem; }
.site-footer .is-style-eyebrow { color: var(--mint); margin-bottom: 1rem; }
.site-footer .is-style-eyebrow::before { display: none; }
.site-footer__phone { margin: 0 0 0.75rem; font-family: var(--display); font-size: 1.375rem; font-weight: 700; }
.site-footer__buttons { gap: 0.5rem; margin-bottom: 0.75rem; }
.site-footer__buttons .wp-block-button__link { padding: 0.65rem 1.1rem; font-size: 0.9rem; }
.site-footer__small, .site-footer .hp-address { display: block; margin: 0 0 0.6rem; font-size: 0.9rem; color: var(--on-dark); }
.site-footer a { color: #fff; }
.site-footer__menu { margin: 0; padding: 0; list-style: none; }
.site-footer__menu li { margin-bottom: 0.55rem; }
.site-footer__menu a { color: var(--on-dark); text-decoration: none; }
.site-footer__menu a:hover { color: #fff; text-decoration: underline; }
.site-footer__bottom {
	margin-top: clamp(2.5rem, 5vw, 4rem) !important;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, .12);
	gap: 0.5rem 2rem;
	font-size: 0.8125rem;
	color: var(--on-dark-muted);
}
.site-footer__bottom p { margin: 0; }
.site-footer__bottom a { color: var(--on-dark); }
.photo-credits { display: block; flex-basis: 100%; font-size: 0.75rem; color: var(--on-dark-muted); }
.photo-credits a { color: var(--on-dark-muted); }

.action-bar { display: none; }
@media (max-width: 781px) {
	.action-bar {
		display: block;
		position: fixed;
		inset: auto 0 0 0;
		z-index: 60;
		margin: 0 !important;
		padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom));
		background: rgba(11, 35, 48, .94);
		-webkit-backdrop-filter: blur(12px);
		backdrop-filter: blur(12px);
		box-shadow: 0 -8px 24px -12px rgba(0, 0, 0, .5);
	}
	.action-bar__buttons { gap: 0.5rem !important; }
	.action-bar__buttons .wp-block-button { flex: 1 1 0; }
	.action-bar__buttons .wp-block-button__link { width: 100%; padding: 0.75rem 0.5rem; font-size: 0.9375rem; }
	body { padding-bottom: calc(4.25rem + env(safe-area-inset-bottom)); }
}

/* ==========================================================================
   Motion
   ========================================================================== */

.hp-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
.hp-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Print
   ========================================================================== */

@media print {
	.site-header, .action-bar, .hp-map, .pep-check__actions { display: none !important; }
	.section-hero, .section-window, .page-hero, .site-footer { background: none !important; color: #000 !important; }
}
