/*
Theme Name: BDA Dive In
Theme URI: https://www.bdawatersports.com/
Author: BDA Watersports
Description: “Dive In” — a custom theme for BDA Watersports, Bermuda. The homepage scrolls from the surface to the reef to the deep and into the night, with full-screen drone video, depth gauge navigation, an Experiences post type with editable prices, SmartRez booking links and SEO-safe page URLs.
Version: 1.0.0
Requires at least: 6.2
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: bda-dive
Tags: custom-logo, custom-menu, featured-images, one-column, full-width-template, translation-ready
*/

/* Self-hosted fonts (SIL Open Font License — see assets/fonts) */
@font-face {
	font-family: "Archivo";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	font-stretch: 62% 125%;
	src: url("assets/fonts/archivo-variable.woff2") format("woff2-variations"), url("assets/fonts/archivo-variable.woff2") format("woff2");
}
@font-face {
	font-family: "DM Sans";
	font-style: normal;
	font-display: swap;
	font-weight: 100 1000;
	src: url("assets/fonts/dm-sans-variable.woff2") format("woff2-variations"), url("assets/fonts/dm-sans-variable.woff2") format("woff2");
}

/* ------------------------------------------------------------------
   1. Tokens
------------------------------------------------------------------ */
:root {
	--navy: #0A2338;
	--deep: #0B2A44;
	--abyss: #050F1A;
	--reef: #127C8A;
	--reef-d: #0E6370;
	--shallow: #9EDDE6;
	--cyan: #3CD0E6;
	--sky: #E8F7F9;
	--pink: #FF3F98;
	--pink-d: #D41F78;
	--blue: #2F8CDA;
	--paper: #F6F9F9;
	--white: #FFFFFF;
	--ink: #0A2338;
	--muted: #4A5A66;
	--soft: #C9D8E0;
	--line: #D8E3E7;

	--font-display: "Archivo", "Arial Black", system-ui, sans-serif;
	--font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

	--wrap: 1320px;
	--gutter: clamp(20px, 4vw, 48px);
	--radius: 22px;
	--radius-sm: 14px;
	--shadow: 0 18px 50px rgba(5, 15, 26, .14);
	--header-h: 84px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ------------------------------------------------------------------
   2. Base
------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.6;
	color: var(--ink);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--reef-d); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--pink-d); }
h1, h2, h3, h4 { line-height: 1.1; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 6px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; margin: 0; z-index: 1000; top: 12px; left: 12px;
	background: var(--white); color: var(--navy); padding: 12px 18px; border-radius: 10px; font-weight: 700;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.narrow { max-width: 860px; }
.center { text-align: center; }
.mb-xl { margin-bottom: 3.5rem; }
.rounded { border-radius: var(--radius); }

.display {
	font-family: var(--font-display);
	font-stretch: 125%;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: -.01em;
	line-height: .95;
	font-size: clamp(34px, 4.6vw, 64px);
}
.eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
	color: var(--reef-d); margin-bottom: 14px;
}
.h-sub { font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: 24px; margin-top: 2.2em; }
.note { color: var(--muted); font-size: 15px; }

/* ------------------------------------------------------------------
   3. Buttons & links
------------------------------------------------------------------ */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 0 26px; border-radius: 999px;
	font-weight: 700; font-size: 16px; line-height: 1; text-decoration: none;
	border: 2px solid transparent; cursor: pointer;
	transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--book { background: var(--pink); color: var(--navy); }
.btn--book:hover { background: var(--pink-d); color: var(--white); }
.btn--light { background: var(--white); color: var(--navy); }
.btn--light:hover { background: var(--cyan); color: var(--navy); }
.btn--light-ghost { border-color: rgba(255,255,255,.85); color: var(--white); background: transparent; }
.btn--light-ghost:hover { background: var(--white); color: var(--navy); }
.btn--dark { background: var(--navy); color: var(--white); }
.btn--dark:hover { background: var(--reef-d); color: var(--white); }
.btn--ghost { border-color: currentColor; color: var(--navy); background: transparent; }
.btn--ghost:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
.btn--text { background: transparent; color: var(--white); padding-inline: 8px; }
.btn--text:hover { color: var(--cyan); transform: none; }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
.btn--lg { min-height: 62px; padding: 0 36px; font-size: 18px; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-row--center { justify-content: center; }

.link-arrow {
	display: inline-flex; align-items: center; gap: 8px; font-weight: 700;
	text-decoration: none; color: inherit; border-bottom: 2px solid currentColor; padding-bottom: 3px;
}
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover { color: inherit; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ------------------------------------------------------------------
   4. Header
------------------------------------------------------------------ */
.announce { background: var(--pink); color: var(--navy); text-align: center; font-weight: 700; font-size: 14px; padding: 8px var(--gutter); position: relative; z-index: 60; }
.announce p { margin: 0; }

.site-header {
	position: fixed; inset: 0 0 auto 0; z-index: 50;
	transition: background .3s, box-shadow .3s, transform .3s;
}
.admin-bar .site-header { top: 32px; }
.site-header::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(180deg, rgba(5,15,26,.55), rgba(5,15,26,0));
	transition: opacity .3s;
}
.site-header.is-scrolled { background: rgba(10, 35, 56, .94); backdrop-filter: blur(10px); box-shadow: 0 6px 30px rgba(0,0,0,.18); }
.site-header.is-scrolled::before { opacity: 0; }
.site-header__inner {
	position: relative; display: flex; align-items: center; gap: 24px;
	max-width: 1480px; margin: 0 auto; padding: 12px var(--gutter); min-height: var(--header-h);
}
.brand { flex: 0 0 auto; display: block; }
.brand__logo { height: 62px; width: auto; transition: height .3s; }
.is-scrolled .brand__logo { height: 50px; }

.main-nav { flex: 1; display: flex; align-items: center; justify-content: center; }
.main-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; align-items: center; }
.main-nav .menu > li { position: relative; }
.main-nav .menu a {
	display: block; padding: 10px 14px; border-radius: 999px;
	color: var(--white); text-decoration: none; font-weight: 600; font-size: 15px;
}
.main-nav .menu a:hover, .main-nav .menu .current-menu-item > a { background: rgba(255,255,255,.14); color: var(--white); }
.main-nav .sub-menu {
	list-style: none; position: absolute; top: 100%; left: 0; min-width: 220px; padding: 8px; margin: 6px 0 0;
	background: var(--navy); border-radius: var(--radius-sm); box-shadow: var(--shadow);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s;
}
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav__extra { display: none; }
.site-header__actions { display: flex; align-items: center; gap: 10px; }
.btn--header { min-height: 46px; }
.nav-toggle {
	display: none; width: 48px; height: 48px; border-radius: 50%;
	border: 2px solid rgba(255,255,255,.8); background: transparent; color: var(--white); cursor: pointer;
	align-items: center; justify-content: center;
}
.nav-toggle__close { display: none; }

/* Pages without a dark hero get a solid header */
body:not(.has-hero) .site-header { background: var(--navy); }

/* ------------------------------------------------------------------
   5. Depth gauge
------------------------------------------------------------------ */
.depth-gauge {
	position: fixed; right: 22px; top: 50%; transform: translateY(-50%); z-index: 40;
	display: flex; gap: 14px; align-items: stretch;
	opacity: 0; pointer-events: none; transition: opacity .4s;
}
.depth-gauge.is-visible { opacity: 1; pointer-events: auto; }
.depth-gauge ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; order: -1; }
.depth-gauge a {
	display: flex; align-items: center; justify-content: flex-end; gap: 10px;
	text-decoration: none; color: var(--white); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
	text-shadow: 0 1px 6px rgba(0,0,0,.45);
}
.depth-gauge__label {
	max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0;
	background: var(--navy); padding: 6px 0; border-radius: 999px; transition: .25s var(--ease);
	text-shadow: none;
}
.depth-gauge a:hover .depth-gauge__label, .depth-gauge a:focus-visible .depth-gauge__label, .depth-gauge a.is-active .depth-gauge__label { max-width: 160px; opacity: 1; padding: 6px 12px; }
.depth-gauge a.is-active { color: var(--pink); }
.depth-gauge a.is-active .depth-gauge__label { color: var(--white); }
.depth-gauge__depth { min-width: 44px; text-align: right; }
.depth-gauge__track { width: 4px; border-radius: 4px; background: rgba(255,255,255,.35); position: relative; overflow: hidden; box-shadow: 0 0 0 1px rgba(10,35,56,.25); }
.depth-gauge__fill { position: absolute; inset: 0 0 auto 0; height: calc(var(--dive, 0) * 100%); background: linear-gradient(var(--cyan), var(--pink)); }
.depth-gauge.on-light a { color: var(--navy); text-shadow: none; }
.depth-gauge.on-light a.is-active { color: var(--pink-d); }
.depth-gauge.on-light .depth-gauge__track { background: rgba(10,35,56,.2); }

/* ------------------------------------------------------------------
   6. Hero
------------------------------------------------------------------ */
.hero {
	position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end;
	color: var(--white); background: var(--navy); overflow: hidden; isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__video { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(5,15,26,.5), rgba(5,15,26,0) 65%), linear-gradient(180deg, rgba(5,15,26,.25) 0%, rgba(5,15,26,.05) 35%, rgba(5,15,26,.65) 100%);
}
.hero__inner { padding-top: calc(var(--header-h) + 60px); padding-bottom: 96px; }
.hero__eyebrow, .phero .eyebrow, .xhero .eyebrow { color: var(--white); text-shadow: 0 1px 12px rgba(5,15,26,.6); }
.hero__eyebrow::before, .phero .eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--pink); flex: 0 0 auto; }
.hero__title {
	font-family: var(--font-display); font-stretch: 125%; font-weight: 900; text-transform: uppercase;
	font-size: clamp(54px, 10.5vw, 160px); line-height: .86; letter-spacing: -.02em; margin: 0 0 24px; max-width: 12ch;
	text-shadow: 0 4px 40px rgba(5,15,26,.35);
}
.hero__text { font-size: clamp(18px, 1.6vw, 22px); max-width: 600px; color: #EAF4F7; margin-bottom: 30px; }
.hero__zones { list-style: none; padding: 0; margin: 44px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero__zones a {
	display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px 0 6px;
	border-radius: 999px; background: rgba(255,255,255,.12); backdrop-filter: blur(8px);
	color: var(--white); text-decoration: none; font-weight: 600; font-size: 14px; border: 1px solid rgba(255,255,255,.25);
}
.hero__zones a span { background: var(--white); color: var(--navy); border-radius: 999px; padding: 6px 10px; font-size: 12px; font-weight: 800; }
.hero__zones a:hover { background: var(--white); color: var(--navy); }
.hero__scroll { position: absolute; left: 50%; bottom: 24px; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.8); border-radius: 20px; transform: translateX(-50%); }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--white); animation: scrolldot 1.8s infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Trust strip */
.trust { background: var(--sky); border-bottom: 1px solid var(--line); }
.trust__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-block: 26px; }
.trust__item { display: flex; align-items: center; gap: 14px; font-size: 15px; color: var(--muted); }
.trust__item strong { display: block; color: var(--navy); font-size: 16px; }
.trust__item .icon { color: var(--reef); flex: 0 0 auto; }
.trust__item img { width: 44px; height: auto; flex: 0 0 auto; }

/* ------------------------------------------------------------------
   7. Waves, caustics, bubbles, glow
------------------------------------------------------------------ */
.wave { position: relative; height: 70px; overflow: hidden; line-height: 0; pointer-events: none; }
.wave svg { position: absolute; bottom: 0; left: 0; width: 200%; height: 100%; }
.wave__a { fill: var(--wave-a, var(--sky)); animation: wave 14s linear infinite; }
.wave__b { fill: var(--wave-b, var(--sky)); opacity: .55; animation: wave 22s linear infinite reverse; }
@keyframes wave { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.hero .wave, .phero .wave, .xhero .wave, .simple-head .wave { position: absolute; left: 0; right: 0; bottom: -1px; }
.phero .wave { --wave-a: var(--zone-next, var(--paper)); --wave-b: var(--zone-next, var(--paper)); }
.xhero .wave { --wave-a: var(--paper); --wave-b: var(--paper); }
.wave--paper { --wave-a: var(--paper); --wave-b: var(--paper); }
.wave--into-shallows { background: var(--sky); --wave-a: var(--shallow); --wave-b: var(--shallow); margin-top: -1px; }
.wave--sand { --wave-a: var(--paper); --wave-b: var(--paper); position: absolute; top: -69px; left: 0; right: 0; }

.waterline { background: var(--sky); text-align: center; padding-top: 10px; }
.waterline__label {
	display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 800; letter-spacing: .3em;
	text-transform: uppercase; color: var(--reef-d);
}
.waterline__label::before, .waterline__label::after { content: ""; width: 60px; height: 2px; background: currentColor; opacity: .4; }

.caustics {
	position: absolute; inset: 0; pointer-events: none; opacity: .35; mix-blend-mode: soft-light;
	background:
		radial-gradient(40px 26px at 20% 30%, #fff, transparent 70%),
		radial-gradient(60px 30px at 70% 20%, #fff, transparent 70%),
		radial-gradient(50px 24px at 45% 65%, #fff, transparent 70%),
		radial-gradient(70px 30px at 85% 70%, #fff, transparent 70%),
		radial-gradient(40px 20px at 10% 80%, #fff, transparent 70%);
	background-size: 420px 300px;
	animation: caustics 18s ease-in-out infinite alternate;
}
@keyframes caustics { from { background-position: 0 0; } to { background-position: 160px 90px; } }

.bubbles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.bubbles span {
	position: absolute; bottom: -40px; width: 12px; height: 12px; border-radius: 50%;
	border: 1.5px solid rgba(255,255,255,.55); background: rgba(255,255,255,.08);
	animation: bubble 14s linear infinite;
}
.bubbles span:nth-child(1) { left: 6%; animation-delay: 0s; width: 10px; height: 10px; }
.bubbles span:nth-child(2) { left: 18%; animation-delay: 3s; width: 18px; height: 18px; animation-duration: 18s; }
.bubbles span:nth-child(3) { left: 32%; animation-delay: 6s; }
.bubbles span:nth-child(4) { left: 47%; animation-delay: 1.5s; width: 8px; height: 8px; animation-duration: 11s; }
.bubbles span:nth-child(5) { left: 63%; animation-delay: 8s; width: 16px; height: 16px; }
.bubbles span:nth-child(6) { left: 77%; animation-delay: 4.5s; animation-duration: 16s; }
.bubbles span:nth-child(7) { left: 88%; animation-delay: 10s; width: 9px; height: 9px; }
.bubbles span:nth-child(8) { left: 95%; animation-delay: 2s; width: 14px; height: 14px; animation-duration: 20s; }
@keyframes bubble {
	0% { transform: translate(0, 0); opacity: 0; }
	10% { opacity: 1; }
	50% { transform: translate(14px, -50vh); }
	100% { transform: translate(-10px, -110vh); opacity: 0; }
}

.glow-field { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.glow-field span {
	position: absolute; width: 10px; height: 10px; border-radius: 50%;
	background: var(--cyan); box-shadow: 0 0 22px 8px rgba(60,208,230,.55);
	animation: glow 6s ease-in-out infinite;
}
.glow-field span:nth-child(even) { background: var(--pink); box-shadow: 0 0 22px 8px rgba(255,63,152,.5); }
.glow-field span:nth-child(1) { left: 8%; top: 18%; }
.glow-field span:nth-child(2) { left: 22%; top: 72%; animation-delay: -1s; }
.glow-field span:nth-child(3) { left: 38%; top: 30%; animation-delay: -2.4s; width: 6px; height: 6px; }
.glow-field span:nth-child(4) { left: 56%; top: 82%; animation-delay: -3s; }
.glow-field span:nth-child(5) { left: 70%; top: 14%; animation-delay: -1.7s; width: 7px; height: 7px; }
.glow-field span:nth-child(6) { left: 84%; top: 58%; animation-delay: -4s; }
.glow-field span:nth-child(7) { left: 93%; top: 26%; animation-delay: -2s; width: 6px; height: 6px; }
.glow-field span:nth-child(8) { left: 48%; top: 52%; animation-delay: -5s; }
@keyframes glow { 0%, 100% { opacity: .25; transform: translateY(0) scale(.8); } 50% { opacity: 1; transform: translateY(-14px) scale(1.15); } }

/* ------------------------------------------------------------------
   8. Zones
------------------------------------------------------------------ */
.zone { position: relative; padding-block: clamp(80px, 10vw, 140px); overflow: hidden; isolation: isolate; }
.zone--surface { background: var(--sky); color: var(--ink); --zone-next: var(--shallow); }
.zone--shallows { background: var(--shallow); color: var(--ink); --zone-next: var(--reef); }
.zone--reef { background: var(--reef); color: var(--white); --zone-next: var(--deep); }
.zone--deep { background: var(--deep); color: var(--white); --zone-next: var(--abyss); }
.zone--night { background: var(--abyss); color: var(--white); --zone-next: var(--paper); }
.zone--reef .eyebrow, .zone--deep .eyebrow, .zone--night .eyebrow { color: var(--cyan); }
.zone--list { padding-top: 40px; }

.dive .zone--surface { padding-top: clamp(70px, 8vw, 110px); }
.dive .zone--shallows { padding-top: 40px; }

.zone__head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: center; margin-bottom: clamp(44px, 6vw, 72px); }
.zone--flip .zone__head { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.zone--flip .zone__copy { order: 2; }
.zone__depth { display: flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 18px; }
.zone__depth-num {
	font-family: var(--font-display); font-stretch: 125%; font-weight: 900; font-size: 22px; letter-spacing: 0;
	padding: 6px 14px; border-radius: 999px; background: var(--navy); color: var(--white);
}
.zone--reef .zone__depth-num, .zone--deep .zone__depth-num, .zone--night .zone__depth-num { background: var(--white); color: var(--navy); }
.zone--night .zone__depth-num { background: var(--pink); }
.zone__title { margin-bottom: 20px; }
.zone__single { margin-top: 36px; max-width: 400px; }
.zone__head:has(.zone__single) { margin-bottom: 0; align-items: start; }
.zone__head:has(.zone__single) .zone__media { aspect-ratio: 4 / 4.4; }
.zone__intro { font-size: clamp(17px, 1.4vw, 20px); max-width: 560px; margin-bottom: 26px; }
.zone--reef .zone__intro, .zone--deep .zone__intro, .zone--night .zone__intro { color: #DCEBF0; }
.zone__media { position: relative; border-radius: calc(var(--radius) + 6px); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); background: var(--navy); }
.zone__img, .zone__video { width: 100%; height: 100%; object-fit: cover; }
.zone--night .zone__media::after {
	content: ""; position: absolute; inset: 0;
	background: radial-gradient(circle at 50% 50%, rgba(60,208,230,.35), transparent 55%), radial-gradient(circle at 30% 70%, rgba(255,63,152,.25), transparent 45%);
	mix-blend-mode: screen;
}
.zone--night .zone__img, .zone--night .xcard__img, .xhero.zone--night .xhero__img { filter: brightness(.5) saturate(1.35) hue-rotate(28deg) contrast(1.15); }

/* Experience cards */
.xgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 26px; }
.xcard {
	display: flex; flex-direction: column; background: var(--white); color: var(--ink);
	border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 30px rgba(5,15,26,.08);
	transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.xcard:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(5,15,26,.2); }
.xcard__media { position: relative; display: block; aspect-ratio: 4 / 3.2; overflow: hidden; background: var(--navy); }
.xcard__img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.xcard:hover .xcard__img { transform: scale(1.06); }
.xcard__badge { position: absolute; top: 14px; left: 14px; background: var(--white); color: var(--navy); font-size: 12px; font-weight: 800; padding: 7px 12px; border-radius: 999px; }
.xcard__depth { position: absolute; bottom: 14px; right: 14px; background: rgba(10,35,56,.82); color: var(--white); font-size: 12px; font-weight: 800; letter-spacing: .08em; padding: 6px 10px; border-radius: 999px; }
.xcard__body { display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 22px; flex: 1; }
.xcard__title { font-family: var(--font-display); font-stretch: 110%; font-weight: 800; font-size: 22px; line-height: 1.15; margin: 0; }
.xcard__title a { color: inherit; text-decoration: none; }
.xcard__title a::after { content: ""; position: absolute; inset: 0; }
.xcard { position: relative; }
.xcard__title a:hover { color: var(--reef-d); }
.xcard__text { color: var(--muted); font-size: 15px; margin: 0; flex: 1; }
.xcard__facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 14px; color: var(--muted); }
.xcard__facts li { display: inline-flex; align-items: center; gap: 6px; }
.xcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; margin-top: 4px; border-top: 1px solid var(--line); }
.xcard__price { font-family: var(--font-display); font-stretch: 110%; font-weight: 800; font-size: 20px; }
.xcard__foot .btn { position: relative; z-index: 1; }

.zone--deep .xcard, .zone--night .xcard { background: #10324F; color: var(--white); }
.zone--night .xcard { background: #0C1D2E; box-shadow: 0 0 0 1px rgba(60,208,230,.25), 0 20px 50px rgba(0,0,0,.4); }
.zone--deep .xcard__text, .zone--night .xcard__text, .zone--deep .xcard__facts, .zone--night .xcard__facts { color: var(--soft); }
.zone--deep .xcard__foot, .zone--night .xcard__foot { border-color: rgba(255,255,255,.15); }
.zone--deep .xcard__title a:hover, .zone--night .xcard__title a:hover { color: var(--cyan); }
.zone--deep .btn--ghost, .zone--night .btn--ghost { color: var(--white); }
.zone--deep .btn--ghost:hover, .zone--night .btn--ghost:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

/* ------------------------------------------------------------------
   9. Photo band, story, reviews, visit, CTA
------------------------------------------------------------------ */
.photo-band { background: var(--abyss); color: var(--white); padding-block: 0 clamp(80px, 10vw, 130px); }
.photo-band__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.photo-band__media { border-radius: calc(var(--radius) + 6px); overflow: hidden; aspect-ratio: 5 / 4; }
.photo-band__media img { width: 100%; height: 100%; object-fit: cover; }
.photo-band .eyebrow { color: var(--pink); }
.photo-band p { color: var(--soft); font-size: 18px; }
.price-list { list-style: none; margin: 26px 0 30px; padding: 0; border-top: 1px solid rgba(255,255,255,.18); }
.price-list li { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.price-list small { display: block; color: var(--soft); font-size: 14px; }
.price-list strong { font-family: var(--font-display); font-stretch: 110%; font-size: 22px; white-space: nowrap; }
.price-list--light { border-color: var(--line); max-width: 720px; }
.price-list--light li { border-color: var(--line); }
.price-list--light small { color: var(--muted); }
.photo-band .link-arrow { color: var(--white); }

.story { position: relative; background: var(--paper); padding-block: clamp(80px, 10vw, 130px); }
.story__inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.story__copy p { font-size: 18px; color: var(--muted); }
.timeline { list-style: none; margin: 0; padding: 0 0 0 26px; border-left: 3px solid var(--cyan); display: flex; flex-direction: column; gap: 22px; }
.timeline li { position: relative; display: flex; flex-direction: column; }
.timeline li::before { content: ""; position: absolute; left: -35px; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: var(--paper); border: 3px solid var(--pink); }
.timeline strong { font-family: var(--font-display); font-stretch: 125%; font-weight: 900; font-size: 26px; line-height: 1; }
.timeline span { color: var(--muted); font-size: 15px; }
.story__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.story__media img { width: 100%; height: 100%; object-fit: cover; }

.reviews { background: var(--white); padding-block: clamp(80px, 10vw, 120px); }
.reviews__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.reviews__badges { display: flex; align-items: center; gap: 18px; }
.reviews__badges img { width: 150px; }
.reviews__track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 380px); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 16px; scrollbar-width: thin; }
.review { margin: 0; scroll-snap-align: start; background: var(--sky); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.review__stars { display: flex; gap: 2px; color: var(--pink-d); }
.review blockquote { margin: 0; flex: 1; }
.review blockquote p { font-size: 18px; line-height: 1.5; margin: 0; font-weight: 500; }
.review figcaption { display: flex; flex-direction: column; font-size: 14px; color: var(--muted); }
.review figcaption strong { color: var(--navy); font-size: 15px; }
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 22px; margin-bottom: 48px; }

.visit { background: var(--sky); padding-block: clamp(80px, 10vw, 120px); }
.visit__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.visit__copy > p { font-size: 18px; color: var(--muted); }
.visit__media { border-radius: calc(var(--radius) + 6px); overflow: hidden; aspect-ratio: 16 / 11; box-shadow: var(--shadow); }
.visit__media img { width: 100%; height: 100%; object-fit: cover; }
.icon-list { list-style: none; margin: 22px 0 28px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.icon-list li { display: flex; gap: 14px; align-items: flex-start; }
.icon-list .icon { flex: 0 0 auto; color: var(--reef); margin-top: 3px; }

.cta-band { position: relative; background: var(--abyss); color: var(--white); padding-block: clamp(90px, 12vw, 150px); text-align: center; overflow: hidden; }
.cta-band__inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.cta-band .display { font-size: clamp(42px, 7vw, 104px); }
.cta-band p { color: var(--soft); max-width: 560px; font-size: 18px; margin-bottom: 26px; }

/* ------------------------------------------------------------------
   10. Inner pages
------------------------------------------------------------------ */
.phero, .xhero {
	position: relative; min-height: min(78vh, 760px); display: flex; align-items: flex-end;
	color: var(--white); background: var(--navy); overflow: hidden; isolation: isolate;
}
.phero__media, .xhero__media { position: absolute; inset: 0; z-index: -1; }
.phero__img, .xhero__img { width: 100%; height: 100%; object-fit: cover; }
.phero__media::after, .xhero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,15,26,.6), rgba(5,15,26,0) 70%), linear-gradient(180deg, rgba(5,15,26,.35), rgba(5,15,26,.1) 40%, rgba(5,15,26,.72)); }
.phero__inner, .xhero__inner { padding-top: calc(var(--header-h) + 80px); padding-bottom: 120px; }
.phero__title, .xhero__title {
	font-family: var(--font-display); font-stretch: 125%; font-weight: 900; text-transform: uppercase;
	font-size: clamp(42px, 7vw, 104px); line-height: .9; letter-spacing: -.015em; max-width: 16ch; margin: 0 0 18px;
}
.phero__text, .xhero__tag { font-size: clamp(17px, 1.5vw, 21px); max-width: 640px; color: #EAF4F7; margin-bottom: 26px; }
.xhero .zone__depth-num { background: var(--white); color: var(--navy); }
.phero.zone--surface, .phero.zone--shallows, .phero.zone--reef, .phero.zone--deep, .phero.zone--night,
.xhero.zone--surface, .xhero.zone--shallows, .xhero.zone--reef, .xhero.zone--deep, .xhero.zone--night { background: var(--navy); color: var(--white); padding: 0; }
.crumbs { display: flex; gap: 10px; font-size: 14px; margin-bottom: 18px; }
.crumbs a { color: var(--white); text-shadow: 0 1px 8px rgba(5,15,26,.6); }

.simple-head { position: relative; background: var(--navy); color: var(--white); padding: calc(var(--header-h) + 70px) 0 110px; }
.simple-head .eyebrow { color: var(--cyan); }

.paper-section { background: var(--paper); padding-block: clamp(64px, 8vw, 110px); }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.two-col--center { align-items: center; }
.checks { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; }
.checks .icon { flex: 0 0 auto; margin-top: 4px; color: var(--reef); }
.checks--muted li { color: var(--muted); }

.prose { font-size: 18px; }
.prose p { color: var(--muted); }
.prose h2, .prose h3 { font-family: var(--font-display); font-stretch: 112%; margin-top: 1.6em; }
.prose img { border-radius: var(--radius-sm); }
.entry-content--wide > * { max-width: 100%; }

/* Single experience */
.xbody { background: var(--paper); padding-block: 40px clamp(70px, 9vw, 110px); }
.xbody__grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.facts { list-style: none; margin: 0 0 34px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.facts li { display: flex; gap: 12px; align-items: center; background: var(--white); border-radius: var(--radius-sm); padding: 16px; }
.facts .icon { color: var(--reef); flex: 0 0 auto; }
.facts span { display: flex; flex-direction: column; font-weight: 700; line-height: 1.3; }
.facts small { font-weight: 500; color: var(--muted); font-size: 13px; }
.bookcard { position: sticky; top: calc(var(--header-h) + 24px); }
.bookcard__inner { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; }
.bookcard__from { font-family: var(--font-display); font-stretch: 125%; font-weight: 900; font-size: 34px; margin: 0; line-height: 1; }
.bookcard__rates { width: 100%; border-collapse: collapse; font-size: 15px; }
.bookcard__rates th { text-align: left; font-weight: 500; color: var(--muted); padding: 9px 0; border-bottom: 1px solid var(--line); }
.bookcard__rates td { text-align: right; font-weight: 800; padding: 9px 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
.bookcard__note { margin: 4px 0 0; font-size: 14px; display: flex; align-items: center; gap: 6px; }
.related { padding-block: clamp(70px, 9vw, 110px); }

/* Rates */
.tabs-nav { display: flex; flex-wrap: wrap; gap: 8px; padding-block: 26px; position: relative; z-index: 2; }
.tabs-nav a { padding: 10px 16px; border-radius: 999px; background: var(--white); border: 1.5px solid var(--line); color: var(--navy); text-decoration: none; font-weight: 700; font-size: 14px; }
.tabs-nav a:hover { border-color: var(--navy); }
.rates-group { padding-block: 34px; scroll-margin-top: calc(var(--header-h) + 20px); }
.rates-group + .rates-group { border-top: 1px solid var(--line); }
.rates-group__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 18px; }
.rates { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.rates__item { background: var(--white); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.rates__head h3 { font-family: var(--font-display); font-stretch: 110%; font-size: 20px; margin: 0 0 2px; }
.rates__head h3 a { color: inherit; text-decoration: none; }
.rates__head p { margin: 0; color: var(--muted); font-size: 14px; }
.rates__item table { width: 100%; border-collapse: collapse; font-size: 15px; }
.rates__item th { text-align: left; font-weight: 500; color: var(--muted); padding: 8px 0; border-bottom: 1px solid var(--line); }
.rates__item td { text-align: right; font-weight: 800; padding: 8px 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
.rates__item .btn { align-self: flex-start; margin-top: auto; }
.rates__item table + .btn { margin-top: auto; }
.rates__item { justify-content: flex-start; }
.rates__item table { margin-bottom: 8px; }
.two-col .rates { grid-template-columns: 1fr; }
.table-scroll { overflow-x: auto; background: var(--white); border-radius: var(--radius); }
.table { width: 100%; border-collapse: collapse; min-width: 520px; }
.table th, .table td { padding: 14px 20px; border-bottom: 1px solid var(--line); text-align: left; }
.table thead th { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.table tbody th { font-weight: 600; }
.table td { font-weight: 800; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item { background: var(--white); border-radius: var(--radius-sm); padding: 0 24px; }
.faq__item summary {
	list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
	font-weight: 700; font-size: 18px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 28px; font-weight: 400; color: var(--reef); transition: transform .2s; }
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item p { color: var(--muted); padding-bottom: 22px; margin: 0; }

/* About */
.quote-band { position: relative; padding-block: clamp(80px, 10vw, 130px); overflow: hidden; }
.big-quote { margin: 0; text-align: center; }
.big-quote p { font-family: var(--font-display); font-stretch: 105%; font-weight: 700; font-size: clamp(26px, 3.2vw, 42px); line-height: 1.2; }
.big-quote footer { color: var(--cyan); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 14px; }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-bottom: 48px; }
.value { background: var(--white); border-radius: var(--radius); padding: 28px; }
.value .icon { color: var(--pink-d); margin-bottom: 14px; }
.value h3 { font-family: var(--font-display); font-stretch: 110%; font-size: 21px; }
.value p { color: var(--muted); margin: 0; }
.press { text-align: center; }
.press ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; font-family: var(--font-display); font-stretch: 110%; font-weight: 800; font-size: 20px; color: var(--muted); }

/* Location */
.route h3 { font-family: var(--font-display); font-stretch: 110%; font-size: 20px; margin-top: 26px; }
.map-frame { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--line); box-shadow: var(--shadow); }
.map-frame iframe { width: 100%; height: 100%; border: 0; }
.contact-card { background: var(--white); border-radius: var(--radius); padding: 24px; }

/* Gallery */
.gallery-grid { columns: 3 300px; column-gap: 18px; margin-bottom: 32px; }
.gallery-grid__item { margin: 0 0 18px; break-inside: avoid; border-radius: var(--radius-sm); overflow: hidden; }
.gallery-grid__item img { width: 100%; height: auto; }

/* Booking embed */
.booking-embed { background: var(--white); border-radius: var(--radius); padding: clamp(16px, 3vw, 32px); margin-bottom: 64px; min-height: 420px; }

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.post-card { background: var(--white); border-radius: var(--radius); overflow: hidden; }
.post-card__body { padding: 22px; }
.post-card h2 { font-size: 22px; }
.post-card h2 a { color: inherit; text-decoration: none; }

/* 404 */
.lost { position: relative; overflow: hidden; padding: calc(var(--header-h) + 120px) 0 140px; min-height: 80vh; }

/* ------------------------------------------------------------------
   11. Footer, action bar, film dialog
------------------------------------------------------------------ */
.site-footer { background: var(--navy); color: var(--soft); padding-top: 72px; font-size: 15px; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--cyan); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.site-footer__brand img { width: 150px; margin-bottom: 18px; }
.site-footer__h { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--white); margin: 0 0 12px; }
.site-footer p { margin-bottom: 18px; }
.footer-menu, .site-footer .menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-menu a, .site-footer .menu a { text-decoration: none; }
.social { display: flex; gap: 10px; }
.social a { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.35); }
.social a:hover { background: var(--white); color: var(--navy); }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: 14px; }
.site-footer__base p { margin: 0; }

.action-bar { display: none; }

.film { width: min(1100px, 94vw); padding: 0; border: 0; border-radius: var(--radius); background: #000; overflow: visible; }
.film::backdrop { background: rgba(5,15,26,.88); }
.film video { width: 100%; border-radius: var(--radius); }
.film__close { position: absolute; top: -56px; right: 0; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--white); color: var(--navy); cursor: pointer; display: flex; align-items: center; justify-content: center; }

/* ------------------------------------------------------------------
   12. Reveal on scroll
------------------------------------------------------------------ */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .xgrid .reveal:nth-child(3n+2) { transition-delay: .08s; }
.js .xgrid .reveal:nth-child(3n+3) { transition-delay: .16s; }

/* ------------------------------------------------------------------
   13. Responsive
------------------------------------------------------------------ */
@media (max-width: 1240px) {
	.depth-gauge { display: none; }
	.story__inner { grid-template-columns: 1fr 1fr; }
	.story__media { display: none; }
}

@media (max-width: 1080px) {
	.nav-toggle { display: inline-flex; }
	.main-nav {
		position: fixed; inset: 0; z-index: -1; background: var(--navy);
		flex-direction: column; justify-content: flex-start; align-items: stretch;
		padding: calc(var(--header-h) + 24px) var(--gutter) 120px; overflow-y: auto;
		opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
	}
	.nav-open .main-nav { opacity: 1; visibility: visible; }
	.nav-open .nav-toggle__open { display: none; }
	.nav-open .nav-toggle__close { display: inline; }
	.nav-open .site-header { background: var(--navy); }
	.main-nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.main-nav .menu a { font-family: var(--font-display); font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: 30px; padding: 14px 0; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
	.main-nav .menu a:hover { background: none; color: var(--cyan); }
	.main-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; background: none; box-shadow: none; padding: 0 0 0 16px; }
	.main-nav .sub-menu a { font-size: 20px; }
	.main-nav__extra { display: flex; flex-direction: column; gap: 14px; margin-top: 30px; }
	.main-nav__contact { display: inline-flex; gap: 10px; align-items: center; color: var(--white); text-decoration: none; font-weight: 600; }
	body.nav-open { overflow: hidden; }

	.zone__head, .zone--flip .zone__head, .photo-band__inner, .visit__grid, .two-col { grid-template-columns: 1fr; }
	.zone--flip .zone__copy { order: 0; }
	.xbody__grid { grid-template-columns: 1fr; }
	.bookcard { position: static; }
	.trust__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.values { grid-template-columns: 1fr; }
}

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

@media (max-width: 760px) {
	:root { --header-h: 70px; }
	body { font-size: 16px; padding-bottom: 84px; }
	.brand__logo, .is-scrolled .brand__logo { height: 46px; }
	.btn--header { display: none; }
	.hero { min-height: 92svh; }
	.hero__inner { padding-bottom: 76px; }
	.hero__zones { display: none; }
	.hero__scroll { display: none; }
	.story__inner { grid-template-columns: 1fr; }
	.trust__grid { gap: 16px; }
	.trust__item { font-size: 13px; gap: 10px; }
	.trust__item strong { font-size: 14px; }
	.facts { grid-template-columns: 1fr; }
	.site-footer__grid { grid-template-columns: 1fr; }
	.wave { height: 44px; }
	.wave--sand { top: -43px; }
	.phero__inner, .xhero__inner { padding-bottom: 90px; }

	.action-bar {
		display: flex; gap: 8px; align-items: center;
		position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 45;
		background: var(--navy); border-radius: 20px; padding: 8px; box-shadow: 0 10px 40px rgba(5,15,26,.35);
	}
	.action-bar__icon { flex: 0 0 52px; height: 52px; border-radius: 14px; background: rgba(255,255,255,.1); color: var(--white); display: flex; align-items: center; justify-content: center; }
	.action-bar__book { flex: 1; min-height: 52px; border-radius: 14px; padding: 0 14px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.js .reveal { opacity: 1; transform: none; }
}

/* WordPress core alignment helpers */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-inline: auto; }
.wp-caption-text, figcaption { font-size: 14px; color: var(--muted); }
