/* ==========================================================================
   MGMT Yacht Agency — Main Stylesheet
   All frontend CSS lives here. Sectioned with section-header comments for
   navigation; Ctrl-F any section name to jump to it. Per playbook §3.
   ========================================================================== */


/* ---------- CUSTOM PROPERTIES ---------- */
:root {
	/* Colour palette */
	--navy: #164475;
	--navy-dark: #0f3258;
	--navy-deep: #0a2440;
	--navy-08: rgba(22, 68, 117, 0.08);
	--gold: #a88242;
	--gold-soft: #c4a05a;
	--cream: #f7f4ee;
	--white: #ffffff;
	--page-bg: #fafafa;
	--bg-grey: #dfdfdf;
	--line-grey: #ececec;
	--mid-grey: #777777;
	--text-primary: #1a1a1a;
	--text-secondary: #595959;

	/* Spacing scale */
	--space-1: 8px;
	--space-2: 16px;
	--space-3: 24px;
	--space-4: 32px;
	--space-5: 48px;
	--space-6: 64px;
	--space-7: 96px;
	--space-8: 128px;
	--space-9: 180px;

	/* Layout */
	--content-width: 1280px;
	--nav-height: 90px;
	--nav-height-scrolled: 64px;

	/* Typography */
	--font-body: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--font-serif: 'Cormorant Garamond', 'Times New Roman', serif;
}


/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body {
	overflow-x: hidden;
	width: 100%;
	max-width: 100%;
}
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-weight: 400;
	font-size: 17px;
	line-height: 1.65;
	color: var(--text-primary);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }


/* ---------- ACCESSIBILITY ---------- */
/* WordPress relies on .screen-reader-text for form labels, skip links, etc.
   See wp-build-lessons.md #9. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.skip-link {
	position: absolute;
	top: -100px;
	left: 0;
	background: var(--navy);
	color: var(--white);
	padding: 12px 24px;
	z-index: 100;
	text-decoration: none;
	font-weight: 500;
}
.skip-link:focus { top: 0; }

/* Focus indicators — high-contrast outline for keyboard users. */
:focus-visible {
	outline: 2px solid var(--navy);
	outline-offset: 3px;
}
/* Programmatic focus on the main landmark (from skip-link) shouldn't draw a
   visible ring around the whole page — the skip itself is the affordance. */
main[tabindex="-1"]:focus,
main[tabindex="-1"]:focus-visible {
	outline: none;
}


/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4, h5, h6 {
	color: inherit;
	margin: 0;
	font-weight: 300;
}
h1 { font-size: 72px; line-height: 1.0; letter-spacing: -0.015em; font-family: var(--font-serif); font-weight: 400; color: var(--navy); }
h2 { font-size: 40px; line-height: 1.15; letter-spacing: -0.005em; font-family: var(--font-serif); font-weight: 400; color: var(--navy); }
h3 { font-size: 22px; line-height: 1.3; font-weight: 500; color: var(--navy); }
h4 { font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-secondary); }
p { margin: 0 0 var(--space-2); }
.lead { font-size: 19px; color: var(--text-secondary); line-height: 1.65; }

.eyebrow {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--gold);
	margin: 0 0 var(--space-2);
	text-align: left;
}
.eyebrow--muted { color: var(--mid-grey); }
.eyebrow--white { color: rgba(255,255,255,0.8); }

/* Section-header left-align — applied globally so every block header is
   consistently left-aligned rather than centred. Individual block rules
   above no longer carry text-align:center or margin:0 auto. */
.block-service-groups__header,
.block-icon-grid__header,
.block-stats-bar__header,
.block-testimonials__header,
.faq__header,
.contact-block__header,
.related-posts__header,
.service-group__header {
	text-align: left;
	margin-left: 0;
	margin-right: 0;
	max-width: 760px;
}


/* ---------- BUTTONS ---------- */
.btn {
	display: inline-block;
	padding: 16px 32px;
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	border: 1px solid transparent;
	border-radius: 0;
	transition: all 0.25s ease;
}
.btn--gold { background: var(--gold); color: var(--white); border-color: var(--gold); }
.btn--gold:hover { background: var(--navy); border-color: var(--navy); }
.btn--ghost-dark { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost-dark:hover { background: var(--navy); color: var(--white); }
.btn--ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn--ghost-light:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--lg { padding: 20px 44px; font-size: 14px; }


/* ---------- FORMS ---------- */
.search-form {
	display: flex;
	gap: var(--space-2);
	max-width: 540px;
	margin: 0 auto;
}
.search-form__input {
	flex: 1;
	padding: 14px 16px;
	border: 1px solid var(--line-grey);
	background: var(--white);
	font: inherit;
	color: var(--text-primary);
}
.search-form__input:focus {
	outline: none;
	border-color: var(--navy);
}


/* ---------- UTILITY CLASSES ---------- */
/* Spacing helpers used by ACF block padding/margin controls. */
.pt-none { padding-top: 0; }
.pt-sm   { padding-top: var(--space-4); }
.pt-md   { padding-top: var(--space-6); }
.pt-lg   { padding-top: var(--space-7); }
.pt-xl   { padding-top: var(--space-8); }
.pb-none { padding-bottom: 0; }
.pb-sm   { padding-bottom: var(--space-4); }
.pb-md   { padding-bottom: var(--space-6); }
.pb-lg   { padding-bottom: var(--space-7); }
.pb-xl   { padding-bottom: var(--space-8); }
.mt-sm   { margin-top: var(--space-4); }
.mt-md   { margin-top: var(--space-6); }
.mt-lg   { margin-top: var(--space-7); }
.mb-sm   { margin-bottom: var(--space-4); }
.mb-md   { margin-bottom: var(--space-6); }
.mb-lg   { margin-bottom: var(--space-7); }

/* Colour-scheme modifier classes — applied at the block wrapper by render templates. */
.scheme-light { background: var(--white); color: var(--text-primary); }
.scheme-dark  { background: var(--navy); color: var(--white); }
.scheme-dark h1, .scheme-dark h2, .scheme-dark h3 { color: var(--white); }
.scheme-accent { background: var(--cream); color: var(--text-primary); }


/* ---------- LAYOUT UTILITIES ---------- */
.container {
	max-width: var(--content-width);
	margin: 0 auto;
	padding: 0 var(--space-4);
}
.container--narrow { max-width: 980px; }

.site-main { min-height: 40vh; }


/* ---------- SITE HEADER ----------
   Sticky white strip above the page. Full logo crossfades to condensed
   version (and the bar slims) once .is-scrolled is added by JS at 60px.
   Hysteresis at 10px on remove — see wp-build-lessons.md #12. */
.site-header {
	background: var(--white);
	border-bottom: 1px solid var(--line-grey);
	position: sticky;
	top: 0;
	z-index: 30;
	transition: min-height 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled {
	box-shadow: 0 4px 14px rgba(15, 50, 88, 0.07);
}
.site-header.menu-open {
	/* Lesson #8 — when overlay opens, header should not bleed through. */
	background: transparent;
	border-bottom-color: transparent;
	box-shadow: none;
}
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: var(--space-2) var(--space-4);
	min-height: var(--nav-height);
	max-width: var(--content-width);
	margin: 0 auto;
	gap: var(--space-4);
	transition: min-height 0.3s ease;
}
.site-header.is-scrolled .site-header__inner {
	min-height: var(--nav-height-scrolled);
}

/* Logo stack — full + condensed images layered, crossfade on .is-scrolled. */
.site-header__logo { display: flex; align-items: center; text-decoration: none; }
.mgmt-logo-stack {
	position: relative;
	display: inline-flex;
	align-items: center;
	height: 64px;
}
.mgmt-logo {
	display: block;
	height: 64px;
	width: auto;
}
.mgmt-logo--full {
	transition: opacity 0.35s ease, transform 0.35s ease;
}
.mgmt-logo--condensed {
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	height: 36px;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.35s ease;
}
.site-header.is-scrolled .mgmt-logo--full {
	opacity: 0;
	transform: translateY(-4px);
	pointer-events: none;
}
.site-header.is-scrolled .mgmt-logo--condensed {
	opacity: 1;
}

/* WP custom logo (Customizer-uploaded) — if the editor uploads one via
   Customizer → Site Identity it replaces the PNG. Keep it constrained. */
.custom-logo-link .custom-logo {
	max-height: 64px;
	width: auto;
	display: block;
}

/* Primary nav — desktop. Lesson #3: margin on <li>, not gap on <ul>. */
.site-header__nav {
	display: flex;
	align-items: center;
}
.site-header__nav .nav-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
}
.site-header__nav .nav-links li {
	list-style: none;
	margin: 0 var(--space-2);
	padding: 0;
}
.site-header__nav .nav-link {
	color: var(--navy);
	text-decoration: none;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	transition: color 0.15s ease;
	padding: 8px 0;
	display: inline-block;
}
.site-header__nav .nav-link:hover { color: var(--gold); }
.site-header__nav .nav-item--active .nav-link {
	color: var(--gold);
}

/* Right-hand actions row — search icon + "Get in touch" link + burger. */
.site-header__actions {
	display: flex;
	align-items: center;
	gap: var(--space-3);
}
.site-header__search {
	width: 38px;
	height: 38px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: relative;
	color: var(--navy);
	background: transparent;
	border: 0;
	padding: 0;
	border-radius: 50%;
	cursor: pointer;
	transition: background 0.15s ease;
}
.site-header__search:hover { background: var(--navy-08); }
.site-header__search:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
/* Magnifier vs close — flip the visible icon by aria-expanded. */
.site-header__search-icon {
	position: absolute;
	inset: 0;
	margin: auto;
	transition: opacity 0.18s ease, transform 0.18s ease;
}
.site-header__search-icon--close {
	opacity: 0;
	transform: rotate(-45deg);
}
.site-header__search[aria-expanded="true"] .site-header__search-icon--magnifier {
	opacity: 0;
	transform: rotate(45deg);
}
.site-header__search[aria-expanded="true"] .site-header__search-icon--close {
	opacity: 1;
	transform: rotate(0);
}

/* Expanding search panel — sits beneath the header, slides down on toggle. */
.site-header__search-panel {
	background: var(--white);
	border-bottom: 1px solid var(--line-grey);
	box-shadow: 0 4px 14px rgba(15, 50, 88, 0.05);
	transform: translateY(-8px);
	opacity: 0;
	transition: opacity 0.18s ease, transform 0.18s ease;
}
.site-header__search-panel.is-open {
	transform: translateY(0);
	opacity: 1;
}
.site-header__search-panel-inner {
	max-width: var(--content-width);
	margin: 0 auto;
	padding: var(--space-3) var(--space-4);
}
.site-header__search-panel .search-form {
	display: flex;
	gap: var(--space-2);
	align-items: stretch;
}
.site-header__search-panel .search-form__input {
	flex: 1;
}
.site-header__cta {
	color: var(--navy);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: underline;
	text-underline-offset: 6px;
	text-decoration-thickness: 1px;
	transition: color 0.15s ease;
}
.site-header__cta:hover { color: var(--gold); }


/* ---------- HAMBURGER & MOBILE MENU ----------
   Burger button is hidden on desktop; mobile media query reveals it.
   Mobile-nav is a full-screen navy overlay; ESC + close button + link-tap
   all dismiss it. Focus + scroll-lock handled by navigation.js. */
.site-header__burger {
	display: none;
	width: 38px;
	height: 38px;
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
	position: relative;
}
.site-header__burger span {
	display: block;
	position: absolute;
	left: 8px;
	width: 22px;
	height: 2px;
	background: var(--navy);
	transition: transform 0.3s ease, opacity 0.2s ease, top 0.3s ease;
}
.site-header__burger span:nth-child(1) { top: 12px; }
.site-header__burger span:nth-child(2) { top: 18px; }
.site-header__burger span:nth-child(3) { top: 24px; }
.site-header__burger.is-open span:nth-child(1) { top: 18px; transform: rotate(45deg); }
.site-header__burger.is-open span:nth-child(2) { opacity: 0; }
.site-header__burger.is-open span:nth-child(3) { top: 18px; transform: rotate(-45deg); }

.mobile-nav {
	position: fixed;
	inset: 0;
	width: 100vw;
	height: 100vh;
	height: 100dvh;
	max-width: 100%;
	background: var(--navy-deep);
	z-index: 90;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s;
	overflow: hidden;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; }
.mobile-nav__viewport {
	display: flex;
	width: 100%;
	height: 100%;
}
.mobile-nav__panel {
	flex: 0 0 100%;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	color: var(--white);
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}
.mobile-nav__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: var(--space-3) var(--space-4);
	border-bottom: 1px solid rgba(255,255,255,0.12);
}
.mobile-nav__logo img { height: 40px; width: auto; display: block; }
.mobile-nav__close {
	width: 44px; height: 44px;
	background: none;
	border: 1px solid rgba(255,255,255,0.25);
	border-radius: 50%;
	color: var(--white);
	cursor: pointer;
	display: inline-flex; align-items: center; justify-content: center;
	transition: border-color 0.15s ease, color 0.15s ease;
}
.mobile-nav__close:hover { border-color: var(--gold-soft); color: var(--gold-soft); }
.mobile-nav__search { padding: var(--space-3) var(--space-4); border-bottom: 1px solid rgba(255,255,255,0.12); }
.mobile-nav__search .search-form { display: flex; gap: var(--space-2); max-width: 100%; }
.mobile-nav__search .search-form__input,
.mobile-nav__search input[type="search"] {
	flex: 1;
	background: rgba(255,255,255,0.07);
	border: 1px solid rgba(255,255,255,0.16);
	color: var(--white);
	padding: 11px 14px;
	font: inherit;
}
.mobile-nav__search input::placeholder { color: rgba(255,255,255,0.5); }
.mobile-nav__nav { flex: 1; position: relative; }
.mobile-nav__list, .mobile-nav__sub {
	list-style: none; margin: 0; padding: 0;
}
.mobile-nav__sub {
	position: absolute;
	inset: 0;
	background: var(--navy-deep);
	transform: translateX(100%);
	transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
	overflow-y: auto;
	padding-top: var(--space-2);
	visibility: hidden;
}
.mobile-nav__sub[aria-hidden="false"] {
	transform: translateX(0);
	visibility: visible;
}
.mobile-nav__item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid rgba(255,255,255,0.10);
}
.mobile-nav__link {
	flex: 1;
	display: block;
	padding: 17px var(--space-4);
	color: var(--white);
	text-decoration: none;
	font-family: var(--font-serif);
	font-size: 21px;
	font-weight: 400;
}
.mobile-nav__link:hover { color: var(--gold-soft); }
.mobile-nav__expand {
	flex: 0 0 56px;
	align-self: stretch;
	background: none;
	border: 0;
	border-left: 1px solid rgba(255,255,255,0.10);
	color: var(--gold-soft);
	font-size: 20px;
	cursor: pointer;
}
.mobile-nav__back {
	display: block;
	width: 100%;
	text-align: left;
	background: none;
	border: 0;
	border-bottom: 1px solid rgba(255,255,255,0.10);
	color: rgba(255,255,255,0.7);
	font-family: var(--font-body);
	font-size: 12px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	padding: 14px var(--space-4);
	cursor: pointer;
}
.mobile-nav__back:hover { color: var(--gold-soft); }
.mobile-nav__footer {
	padding: var(--space-4);
	border-top: 1px solid rgba(255,255,255,0.12);
}
.mobile-nav__cta { display: block; text-align: center; }
.mobile-nav__contact {
	margin: var(--space-3) 0 0;
	font-size: 13px;
	color: rgba(255,255,255,0.6);
	text-align: center;
}
.mobile-nav__contact a { color: rgba(255,255,255,0.85); text-decoration: none; }
.mobile-nav__contact a:hover { color: var(--gold-soft); }
@media (prefers-reduced-motion: reduce) {
	.mobile-nav__sub { transition: none; }
}


/* ---------- HERO BLOCK ----------
   Full-bleed banner. Height tiers — tall (homepage), medium, compact.
   Image or video background; navy gradient overlay keeps the type legible
   without flattening the photograph. */
.block-hero {
	position: relative;
	min-height: 720px;
	display: flex;
	align-items: flex-end;
	color: var(--white);
	overflow: hidden;
	background: var(--navy);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}
.block-hero--medium  { min-height: 480px; }
.block-hero--compact { min-height: 320px; }
.block-hero__video {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
	z-index: 0;
	pointer-events: none;
}
.block-hero__overlay {
	position: absolute; inset: 0;
	z-index: 1;
	background:
		linear-gradient(90deg, rgba(10, 36, 64, 0.62) 0%, rgba(10, 36, 64, 0.25) 45%, rgba(10, 36, 64, 0) 75%),
		linear-gradient(180deg, rgba(10, 36, 64, 0) 35%, rgba(10, 36, 64, 0.55) 100%);
}
.block-hero__inner {
	position: relative;
	z-index: 2;
	width: 100%;
	padding-top: var(--space-8);
	padding-bottom: var(--space-7);
}
.block-hero__content { max-width: 760px; }
.block-hero h1 {
	color: var(--white);
	font-family: var(--font-serif);
	font-size: 96px;
	line-height: 0.98;
	letter-spacing: -0.015em;
	margin-bottom: var(--space-4);
	max-width: 14ch;
	text-shadow: 0 2px 30px rgba(0, 0, 0, 0.25);
}
.block-hero--medium  h1 { font-size: 64px; }
.block-hero--compact h1 { font-size: 44px; }
.block-hero__lead {
	font-size: 20px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.95);
	max-width: 540px;
	margin: 0 0 var(--space-5);
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}
.block-hero__actions {
	display: flex;
	gap: var(--space-2);
	flex-wrap: wrap;
}
@media (max-width: 1024px) {
	.block-hero { min-height: 600px; }
	.block-hero h1 { font-size: 64px; }
	.block-hero--medium h1 { font-size: 48px; }
}
@media (max-width: 720px) {
	.block-hero { min-height: 88vh; min-height: 560px; align-items: center; }
	.block-hero h1 { font-size: 44px; }
	.block-hero__lead { font-size: 17px; }
}


/* ---------- PAGE BANNER BLOCK ----------
   Tight inner-page header. Reuses .page-intro styles already in the
   typography section — the block just adds .page-intro to its class list. */
.block-page-banner.page-intro {
	/* No extra styling — page-intro section above does the work. */
}


/* ---------- CTA BANNER BLOCK ----------
   Full-bleed call to action. Optional background image with a dark navy
   gradient so the text stays legible regardless of the photo. */
.block-cta-banner {
	position: relative;
	min-height: 420px;
	background-size: cover;
	background-position: center;
	background-color: var(--navy-dark);
	display: flex;
	align-items: center;
	color: var(--white);
	padding: var(--space-7) 0;
	overflow: hidden;
}
.block-cta-banner__overlay {
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(15, 50, 88, 0.3) 0%, rgba(10, 36, 64, 0.92) 100%);
}
.block-cta-banner__inner {
	position: relative; z-index: 1;
	text-align: center;
	max-width: 760px;
	margin: 0 auto;
}
.block-cta-banner h2 {
	color: var(--white);
	font-size: 48px;
	font-weight: 400;
	line-height: 1.05;
	margin-bottom: var(--space-3);
}
.block-cta-banner__desc {
	font-size: 19px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.88);
	margin-bottom: var(--space-4);
	max-width: 560px;
	margin-left: auto;
	margin-right: auto;
}
@media (max-width: 720px) {
	.block-cta-banner { min-height: 320px; padding: var(--space-5) 0; }
	.block-cta-banner h2 { font-size: 32px; }
	.block-cta-banner__desc { font-size: 17px; }
}


/* ---------- CONTAINER BLOCK ----------
   Generic InnerBlocks wrapper. Width controls the inner max-width; scheme
   handles colour. Background image (optional) sits behind a dim overlay
   so the inner content stays readable. */
.block-container {
	position: relative;
	background-size: cover;
	background-position: center;
}
.block-container__overlay {
	position: absolute; inset: 0;
	background: rgba(10, 36, 64, 0.5);
	pointer-events: none;
}
.block-container__inner {
	position: relative;
	z-index: 1;
	max-width: var(--content-width);
	margin: 0 auto;
	padding: 0 var(--space-4);
}
.block-container--narrow .block-container__inner {
	max-width: 880px;
}
.block-container--full .block-container__inner {
	max-width: none;
	padding-left: 0;
	padding-right: 0;
}
/* When the container is dark-schemed, headings + text follow the scheme. */
.block-container.scheme-dark {
	color: var(--white);
}
.block-container.scheme-dark h1,
.block-container.scheme-dark h2,
.block-container.scheme-dark h3 {
	color: var(--white);
}


/* ---------- BLOCK PLACEHOLDER ----------
   Visible only while the corresponding block's render template is still a
   skeleton — Phase 6 fills them in one by one. */
.block-placeholder {
	display: block;
	padding: var(--space-5);
	background: var(--cream);
	border: 1px dashed var(--gold);
	color: var(--mid-grey);
	font-style: italic;
	text-align: center;
	margin: var(--space-3) 0;
}


/* ---------- MANIFESTO BLOCK ----------
   Two-column editorial section — heading on the left, body + pull quote on
   the right. The pull quote uses a gold left rule and italic serif. */
.block-manifesto { background: var(--white); }
.block-manifesto__grid {
	display: grid;
	grid-template-columns: 5fr 7fr;
	gap: var(--space-7);
	align-items: center;
}
.block-manifesto__heading h2 {
	font-size: 44px;
	line-height: 1.1;
	letter-spacing: -0.01em;
}
.block-manifesto__heading .eyebrow { margin-bottom: var(--space-3); }
.block-manifesto__copy p { font-size: 17px; line-height: 1.75; color: var(--text-primary); }
.block-manifesto__copy p + p { margin-top: var(--space-2); }
.block-manifesto__pull {
	margin: var(--space-4) 0 0;
	padding: var(--space-3) 0 var(--space-3) var(--space-3);
	border-left: 3px solid var(--gold);
	font-size: 19px;
	font-style: italic;
	color: var(--navy);
	max-width: 540px;
}
@media (max-width: 1024px) {
	.block-manifesto__grid { grid-template-columns: 1fr; gap: var(--space-4); }
	.block-manifesto__heading h2 { font-size: 32px; }
}


/* ---------- SERVICE GROUPS BLOCK ----------
   Four cards in a 2-col grid (3-col on wider screens), each one a
   service_group with the services in it as a quick-link list. */
.block-service-groups__header {
	margin: 0 0 var(--space-6);
}
.block-service-groups__header .lead { margin: var(--space-2) 0 0; max-width: 620px; }
.block-service-groups__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	background: var(--line-grey);
	border: 1px solid var(--line-grey);
}
.block-service-groups__card {
	background: var(--white);
	padding: var(--space-5);
	transition: background 0.2s ease;
}
.block-service-groups__card:hover { background: #fcfcfc; }
.block-service-groups__card h3 {
	font-family: var(--font-serif);
	font-size: 26px;
	font-weight: 400;
	margin-bottom: var(--space-2);
	letter-spacing: -0.005em;
	color: var(--navy);
}
.block-service-groups__blurb {
	color: var(--text-secondary);
	margin-bottom: var(--space-3);
	max-width: 460px;
}
.block-service-groups__list {
	list-style: none;
	margin: 0;
	padding: var(--space-2) 0 0;
	border-top: 1px solid var(--line-grey);
}
.block-service-groups__list li { padding: 6px 0; }
.block-service-groups__list a {
	color: var(--text-primary);
	text-decoration: none;
	font-size: 15px;
	font-weight: 500;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	transition: color 0.15s ease;
}
.block-service-groups__list a::after {
	content: '→';
	color: var(--gold);
	font-weight: 400;
	transform: translateX(-4px);
	opacity: 0;
	transition: all 0.2s ease;
}
.block-service-groups__list a:hover { color: var(--navy); }
.block-service-groups__list a:hover::after {
	transform: translateX(0);
	opacity: 1;
}
.block-service-groups__footer {
	text-align: center;
	margin-top: var(--space-6);
}
@media (max-width: 720px) {
	.block-service-groups__grid { grid-template-columns: 1fr; }
}


/* ---------- DESTINATIONS STRIP BLOCK ----------
   Header row (heading + lead on the left, "All destinations" button on the
   right) then 4 photo-driven destination cards. */
.block-destinations-strip__header {
	display: flex;
	justify-content: space-between;
	align-items: end;
	gap: var(--space-4);
	flex-wrap: wrap;
	margin-bottom: var(--space-5);
}
.block-destinations-strip__header h2 { max-width: 560px; }
.block-destinations-strip__header .lead { max-width: 540px; margin-top: var(--space-2); }
.block-destinations-strip__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--space-3);
}
.block-destinations-strip__card {
	position: relative;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: var(--navy);
	color: var(--white);
	text-decoration: none;
	display: block;
}
.block-destinations-strip__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	transition: transform 0.6s ease;
}
.block-destinations-strip__card:hover .block-destinations-strip__bg { transform: scale(1.06); }
.block-destinations-strip__card::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(15,50,88,0) 45%, rgba(15,50,88,0.92) 100%);
}
.block-destinations-strip__label {
	position: absolute;
	bottom: var(--space-3);
	left: var(--space-3);
	right: var(--space-3);
	z-index: 2;
}
.block-destinations-strip__region {
	display: block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--gold-soft);
	margin-bottom: 6px;
}
.block-destinations-strip__name {
	display: block;
	font-family: var(--font-serif);
	font-size: 24px;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: -0.005em;
}
@media (max-width: 1024px) {
	.block-destinations-strip__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
	.block-destinations-strip__grid { grid-template-columns: 1fr 1fr; }
	.block-destinations-strip__name { font-size: 20px; }
}


/* ---------- GALLERY TEASER BLOCK ----------
   2:1:1 mosaic + a "View full gallery" tile in navy.
   Layout: large lead tile (2x2), then 2 supporting tiles stacked vertically. */
.block-gallery-teaser__header {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--space-5);
	align-items: end;
	margin-bottom: var(--space-5);
}
.block-gallery-teaser__grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	grid-template-rows: 240px 240px;
	gap: var(--space-2);
}
.block-gallery-teaser__item {
	background: var(--bg-grey);
	background-size: cover;
	background-position: center;
	position: relative;
	overflow: hidden;
	text-decoration: none;
}
.block-gallery-teaser__item:nth-child(1) { grid-row: span 2; }
.block-gallery-teaser__item--more {
	background: var(--navy);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--white);
	flex-direction: column;
	gap: var(--space-1);
	transition: background 0.2s ease;
}
.block-gallery-teaser__item--more:hover { background: var(--navy-dark); }
.block-gallery-teaser__more-num {
	font-family: var(--font-serif);
	font-size: 38px;
	font-weight: 300;
}
.block-gallery-teaser__more-label {
	font-size: 11px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--gold-soft);
}
@media (max-width: 720px) {
	.block-gallery-teaser__header { grid-template-columns: 1fr; }
	.block-gallery-teaser__grid {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: 180px 180px 180px;
	}
	.block-gallery-teaser__item:nth-child(1) {
		grid-column: span 2;
		grid-row: span 1;
	}
}


/* ---------- APPROACH CINEMATIC BLOCK ----------
   Full-bleed background image; navy gradient overlays the left side so the
   text panel stays legible. Principles render as a 2-col grid underneath. */
.block-approach {
	position: relative;
	min-height: 720px;
	background-size: cover;
	background-position: center;
	background-color: var(--navy-deep);
	display: flex;
	align-items: center;
	overflow: hidden;
}
.block-approach__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(15,50,88,0.92) 0%, rgba(15,50,88,0.65) 45%, rgba(15,50,88,0.05) 100%);
}
.block-approach .container {
	position: relative;
	z-index: 1;
}
.block-approach__inner {
	max-width: 580px;
	color: var(--white);
	text-align: left;
}
.block-approach h2 {
	color: var(--white);
	font-family: var(--font-serif);
	font-size: 56px;
	font-weight: 400;
	line-height: 1.05;
	margin-bottom: var(--space-3);
}
.block-approach__lead {
	font-size: 20px;
	line-height: 1.65;
	color: rgba(255,255,255,0.9);
	margin-bottom: var(--space-4);
}
.block-approach__principles {
	margin-top: var(--space-5);
	padding-top: var(--space-5);
	border-top: 1px solid rgba(255,255,255,0.2);
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--space-4);
}
.block-approach__principle h3 {
	color: var(--white);
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 4px;
	letter-spacing: 0.04em;
}
.block-approach__principle p {
	color: rgba(255,255,255,0.78);
	font-size: 14px;
	line-height: 1.6;
	margin: 0;
}
/* No background image uploaded — this block is designed as a full-bleed
   photo with an offset text panel. Without the photo, collapse the 720px
   cinematic void + vertical-centre to a tight, left-anchored editorial
   section so it never reads as floating/centred text. */
.block-approach--no-image {
	min-height: 0;
	padding: var(--space-7) 0;
}
.block-approach--no-image .block-approach__overlay { display: none; }
@media (max-width: 1024px) {
	.block-approach h2 { font-size: 40px; }
	.block-approach__principles { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
	.block-approach { min-height: 600px; }
	.block-approach--no-image { min-height: 0; padding: var(--space-6) 0; }
	.block-approach h2 { font-size: 32px; }
	.block-approach__lead { font-size: 17px; }
}


/* ---------- POST CARDS BLOCK ----------
   Wrapper around the generic .post-card component. Header row pairs eyebrow
   /heading/lead with an optional CTA button on the right. Grid columns are
   controlled by a `--cols-{n}` modifier on the wrapper. */
.block-post-cards .container { max-width: var(--content-width); }
.block-post-cards__header {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: var(--space-5);
	margin-bottom: var(--space-5);
	flex-wrap: wrap;
}
.block-post-cards__header > .reveal { max-width: 720px; }
.block-post-cards__header h2 { margin-top: var(--space-1); }
.block-post-cards__header .lead { margin-top: var(--space-2); }
.block-post-cards__grid {
	display: grid;
	gap: var(--space-3);
}
.block-post-cards--cols-2 .block-post-cards__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.block-post-cards--cols-3 .block-post-cards__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.block-post-cards--cols-4 .block-post-cards__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.block-post-cards__empty {
	color: var(--text-secondary);
	font-style: italic;
}
@media (max-width: 1024px) {
	.block-post-cards--cols-3 .block-post-cards__grid,
	.block-post-cards--cols-4 .block-post-cards__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 720px) {
	.block-post-cards__grid { grid-template-columns: 1fr; }
	.block-post-cards__header { flex-direction: column; align-items: flex-start; }
}


/* ---------- ICON GRID BLOCK ---------- */
.block-icon-grid .container { max-width: var(--content-width); }
.block-icon-grid__header {
	margin: 0 0 var(--space-5);
}
.block-icon-grid__header h2 { margin-top: var(--space-1); }
.block-icon-grid__header .lead { margin: var(--space-2) 0 0; }
.block-icon-grid__grid {
	display: grid;
	gap: var(--space-4);
}
.block-icon-grid--cols-2 .block-icon-grid__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.block-icon-grid--cols-3 .block-icon-grid__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.block-icon-grid--cols-4 .block-icon-grid__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.block-icon-grid__item {
	background: var(--white);
	padding: var(--space-4);
	border: 1px solid var(--line-grey);
	text-decoration: none;
	color: inherit;
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
}
a.block-icon-grid__item:hover {
	transform: translateY(-3px);
	box-shadow: 0 16px 40px rgba(15, 50, 88, 0.08);
	border-color: rgba(22, 68, 117, 0.18);
}
.block-icon-grid--align-center .block-icon-grid__item {
	text-align: center;
	align-items: center;
}
.block-icon-grid__icon {
	color: var(--gold);
	font-size: 32px;
	width: 32px;
	height: 32px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.block-icon-grid__icon--image img {
	max-width: 48px;
	max-height: 48px;
	width: auto;
	height: auto;
	display: block;
}
.block-icon-grid__title {
	font-family: var(--font-serif);
	font-size: 22px;
	font-weight: 400;
	line-height: 1.25;
	color: var(--navy);
	margin: 0;
}
.block-icon-grid__body {
	font-size: 15px;
	line-height: 1.65;
	color: var(--text-secondary);
	margin: 0;
}
@media (max-width: 1024px) {
	.block-icon-grid--cols-3 .block-icon-grid__grid,
	.block-icon-grid--cols-4 .block-icon-grid__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 720px) {
	.block-icon-grid__grid { grid-template-columns: 1fr; }
}


/* ---------- SPLIT SECTION BLOCK ----------
   50/50 image + InnerBlocks. Position toggle swaps grid column order so the
   image can flow left or right without flexbox `row-reverse` hacks. */
.block-split-section .container { max-width: var(--content-width); }
.block-split-section__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--space-6);
	align-items: center;
}
.block-split-section--image-right .block-split-section__media { order: 2; }
.block-split-section--image-right .block-split-section__content { order: 1; }
.block-split-section__media {
	margin: 0;
	overflow: hidden;
}
.block-split-section__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.block-split-section--ratio-4-3  .block-split-section__media img { aspect-ratio: 4 / 3; }
.block-split-section--ratio-1-1  .block-split-section__media img { aspect-ratio: 1 / 1; }
.block-split-section--ratio-3-4  .block-split-section__media img { aspect-ratio: 3 / 4; }
.block-split-section--ratio-16-9 .block-split-section__media img { aspect-ratio: 16 / 9; }
.block-split-section__caption {
	font-size: 13px;
	color: var(--text-secondary);
	margin-top: var(--space-1);
	letter-spacing: 0.04em;
}
.block-split-section__content > * + * { margin-top: var(--space-2); }
.block-split-section__content h2 { margin-bottom: var(--space-2); }
.block-split-section__content p  { line-height: 1.7; color: var(--text-secondary); }
@media (max-width: 1024px) {
	.block-split-section__inner {
		grid-template-columns: 1fr;
		gap: var(--space-4);
	}
	.block-split-section--image-right .block-split-section__media { order: 1; }
	.block-split-section--image-right .block-split-section__content { order: 2; }
}


/* ---------- STATS BAR BLOCK ----------
   Default scheme is dark (navy). The value uses the serif font for a
   premium editorial feel; the label sits below in tracked uppercase. */
.block-stats-bar .container { max-width: var(--content-width); }
.block-stats-bar__header {
	margin: 0 0 var(--space-5);
}
.block-stats-bar__header h2 { margin-top: var(--space-1); }
.block-stats-bar__header .lead { margin: var(--space-2) 0 0; }
.block-stats-bar__grid {
	display: grid;
	gap: var(--space-4);
	margin: 0;
	padding: 0;
}
.block-stats-bar--cols-2 .block-stats-bar__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.block-stats-bar--cols-3 .block-stats-bar__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.block-stats-bar--cols-4 .block-stats-bar__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.block-stats-bar--cols-5 .block-stats-bar__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.block-stats-bar__item {
	text-align: center;
	padding: var(--space-3) var(--space-2);
}
.block-stats-bar__value {
	font-family: var(--font-serif);
	font-size: 64px;
	line-height: 1;
	letter-spacing: -0.01em;
	margin: 0;
	color: var(--navy);
	display: inline-flex;
	align-items: baseline;
	gap: 4px;
}
.block-stats-bar--scheme-dark .block-stats-bar__value { color: var(--white); }
.block-stats-bar__suffix {
	font-size: 38px;
	color: var(--gold);
}
.block-stats-bar__label {
	font-family: var(--font-body);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	margin: var(--space-2) 0 0;
	color: var(--text-secondary);
}
.block-stats-bar--scheme-dark .block-stats-bar__label { color: rgba(255, 255, 255, 0.7); }
.block-stats-bar__note {
	font-size: 14px;
	color: var(--text-secondary);
	margin: var(--space-1) 0 0;
	line-height: 1.5;
}
.block-stats-bar--scheme-dark .block-stats-bar__note { color: rgba(255, 255, 255, 0.55); }
@media (max-width: 1024px) {
	.block-stats-bar--cols-3 .block-stats-bar__grid,
	.block-stats-bar--cols-4 .block-stats-bar__grid,
	.block-stats-bar--cols-5 .block-stats-bar__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.block-stats-bar__value { font-size: 48px; }
	.block-stats-bar__suffix { font-size: 28px; }
}
@media (max-width: 720px) {
	.block-stats-bar__grid { grid-template-columns: 1fr; }
}


/* ---------- ACCORDION / FAQ BLOCK ---------- */
.block-faq .container { max-width: var(--content-width); }
.faq__header { margin: 0 0 var(--space-5); }
.faq__header h2 { margin-top: var(--space-1); }
.faq__intro { color: var(--text-secondary); margin-top: var(--space-2); }
.faq__list {
	max-width: 820px;
	margin: 0 auto;
	border-top: 1px solid var(--line-grey);
}
.faq__item { border-bottom: 1px solid var(--line-grey); }
.faq__item > summary {
	list-style: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-2);
	padding: 20px 4px;
	font-family: var(--font-body);
	font-size: 17px;
	font-weight: 500;
	line-height: 1.4;
	color: var(--navy);
	transition: color 0.15s ease;
}
.faq__item > summary::-webkit-details-marker { display: none; }
.faq__item > summary:hover { color: var(--gold); }
.faq__item > summary:focus-visible {
	outline: 2px solid var(--navy);
	outline-offset: 4px;
}
.faq__icon {
	flex-shrink: 0;
	width: 16px;
	height: 16px;
	position: relative;
	transition: transform 0.25s ease;
}
.faq__icon::before,
.faq__icon::after {
	content: '';
	position: absolute;
	background: currentColor;
	left: 50%;
	top: 50%;
}
.faq__icon::before {
	width: 14px;
	height: 2px;
	transform: translate(-50%, -50%);
}
.faq__icon::after {
	width: 2px;
	height: 14px;
	transform: translate(-50%, -50%);
	transition: transform 0.25s ease;
}
.faq__item[open] .faq__icon::after {
	transform: translate(-50%, -50%) rotate(90deg);
	opacity: 0;
}
.faq__answer {
	padding: 0 4px 24px;
	color: var(--text-primary);
	font-size: 15px;
	line-height: 1.7;
}
.faq__answer p:first-child { margin-top: 0; }
.faq__answer p:last-child  { margin-bottom: 0; }
.faq__answer ul,
.faq__answer ol { padding-left: 22px; }


/* ---------- TESTIMONIALS BLOCK ----------
   Editorial pull-quote treatment — large serif quote mark, navy text on
   cream-tinted backdrop. Built as a grid; can be upgraded to a slider later
   without changing markup. */
.block-testimonials .container { max-width: var(--content-width); }
.block-testimonials__header {
	margin: 0 0 var(--space-5);
}
.block-testimonials__header h2 { margin-top: var(--space-1); }
.block-testimonials__header .lead { margin: var(--space-2) 0 0; }
.block-testimonials__grid {
	display: grid;
	gap: var(--space-4);
}
.block-testimonials--cols-1 .block-testimonials__grid { grid-template-columns: 1fr; max-width: 820px; margin: 0 auto; }
.block-testimonials--cols-2 .block-testimonials__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.block-testimonials--cols-3 .block-testimonials__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.block-testimonials__item {
	margin: 0;
	padding: var(--space-5);
	background: var(--cream);
	border: 1px solid rgba(168, 130, 66, 0.18);
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
	position: relative;
}
.block-testimonials__item::before {
	content: '\201C';
	position: absolute;
	top: 12px;
	left: var(--space-3);
	font-family: var(--font-serif);
	font-size: 90px;
	line-height: 1;
	color: var(--gold);
	opacity: 0.35;
	pointer-events: none;
}
.block-testimonials__quote {
	margin: 0;
	font-family: var(--font-serif);
	font-size: 22px;
	line-height: 1.4;
	color: var(--navy);
	letter-spacing: -0.003em;
	position: relative;
	z-index: 1;
}
.block-testimonials__quote p { margin: 0; }
.block-testimonials__attrib {
	display: flex;
	align-items: center;
	gap: var(--space-2);
	margin-top: auto;
}
.block-testimonials__photo {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}
.block-testimonials__attrib-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.block-testimonials__author {
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 600;
	color: var(--navy);
	letter-spacing: 0.02em;
}
.block-testimonials__role {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--text-secondary);
}
@media (max-width: 1024px) {
	.block-testimonials--cols-3 .block-testimonials__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
	.block-testimonials__grid { grid-template-columns: 1fr !important; }
	.block-testimonials__quote { font-size: 19px; }
}


/* ---------- FULL-WIDTH IMAGE BLOCK ----------
   Editorial photo break. Width variants control whether the image breaks
   the container (full-bleed), stays within content width (contained), or
   shrinks to a narrow reading column. */
.block-full-image { padding-left: 0; padding-right: 0; }
.block-full-image__figure { margin: 0; }
.block-full-image--full .block-full-image__figure {
	width: 100%;
}
.block-full-image--contained .block-full-image__figure {
	max-width: var(--content-width);
	margin: 0 auto;
	padding: 0 var(--space-3);
}
.block-full-image--narrow .block-full-image__figure {
	max-width: 720px;
	margin: 0 auto;
	padding: 0 var(--space-3);
}
.block-full-image__figure img {
	width: 100%;
	height: auto;
	display: block;
}
.block-full-image--ratio-16-9 .block-full-image__figure img { aspect-ratio: 16 / 9; object-fit: cover; }
.block-full-image--ratio-21-9 .block-full-image__figure img { aspect-ratio: 21 / 9; object-fit: cover; }
.block-full-image--ratio-3-1  .block-full-image__figure img { aspect-ratio: 3 / 1;  object-fit: cover; }
.block-full-image__caption {
	margin-top: var(--space-2);
	font-size: 13px;
	letter-spacing: 0.04em;
	color: var(--text-secondary);
	text-align: center;
}
.block-full-image--full .block-full-image__caption {
	max-width: var(--content-width);
	padding: 0 var(--space-3);
	margin-left: auto;
	margin-right: auto;
}


/* ---------- CONTACT BLOCK ---------- */
.contact-block .container { max-width: var(--content-width); }
.contact-block__header { margin: 0 0 var(--space-5); }
.contact-block__header h2 { margin-top: var(--space-1); }
.contact-block__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--space-7);
	align-items: start;
}
.contact-block__info {
	font-size: 16px;
	line-height: 1.7;
	color: var(--text-primary);
}
.contact-block__info h3,
.contact-block__info h4 {
	margin: 0 0 8px;
	color: var(--navy);
}
.contact-block__info p { margin: 0 0 14px; }
.contact-block__info p:last-child { margin-bottom: 0; }
.contact-block__info a { color: var(--navy); }
.contact-block__info a:hover { color: var(--gold); }
.contact-block__form {
	background: var(--white);
	padding: var(--space-5);
	border: 1px solid var(--line-grey);
	border-radius: 4px;
	box-shadow: 0 4px 18px rgba(20, 30, 50, 0.04);
}
.contact-block__notice {
	margin: 0;
	padding: 16px;
	background: #fff7e6;
	border: 1px dashed #d8b257;
	color: #6b5210;
	border-radius: 4px;
	font-size: 14px;
}

/* Dark-scheme variant — flip text and form chrome for navy backgrounds. */
.block-contact-block--dark .contact-block__info,
.block-contact-block--dark .contact-block__info h3,
.block-contact-block--dark .contact-block__info h4,
.block-contact-block--dark .contact-block__info a { color: var(--white); }
.block-contact-block--dark .contact-block__info a:hover { color: var(--gold-soft); }

/* Light Gravity Forms restyle — loose selectors so it works across GF
   versions; only nudges, no full reset. */
.contact-block__form .gform_wrapper { font-family: inherit; }
.contact-block__form .gform_wrapper .gfield_label {
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 12px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--text-secondary);
	margin-bottom: 6px;
}
.contact-block__form .gform_wrapper input[type="text"],
.contact-block__form .gform_wrapper input[type="email"],
.contact-block__form .gform_wrapper input[type="tel"],
.contact-block__form .gform_wrapper input[type="url"],
.contact-block__form .gform_wrapper input[type="number"],
.contact-block__form .gform_wrapper select,
.contact-block__form .gform_wrapper textarea {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid #d3d3d3;
	border-radius: 3px;
	font-family: var(--font-body);
	font-size: 15px;
	line-height: 1.4;
	background: var(--white);
	color: var(--text-primary);
	transition: border-color 0.15s ease;
}
.contact-block__form .gform_wrapper input:focus,
.contact-block__form .gform_wrapper select:focus,
.contact-block__form .gform_wrapper textarea:focus {
	outline: none;
	border-color: var(--navy);
}
.contact-block__form .gform_wrapper .gform_button {
	background: var(--navy);
	color: var(--white);
	border: 0;
	padding: 14px 32px;
	font-family: var(--font-body);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	border-radius: 3px;
	cursor: pointer;
	transition: background 0.2s ease;
}
.contact-block__form .gform_wrapper .gform_button:hover { background: var(--gold); }

@media (max-width: 1024px) {
	.contact-block__grid {
		grid-template-columns: 1fr;
		gap: var(--space-5);
	}
}


/* ---------- POST CARD ----------
   Generic card used across blog index, search results, and the Page/Post
   Cards block. Adapts gracefully for any post type. */
.post-card {
	background: var(--white);
	border: 1px solid var(--line-grey);
	display: flex;
	flex-direction: column;
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
	overflow: hidden;
	min-width: 0;
}
.post-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 16px 40px rgba(15, 50, 88, 0.08);
	border-color: rgba(22, 68, 117, 0.18);
}
.post-card__media {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--bg-grey);
}
.post-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__body {
	padding: var(--space-3) var(--space-4) var(--space-4);
	display: flex;
	flex-direction: column;
	flex: 1;
}
.post-card__date,
.post-card__type {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--gold);
	margin-bottom: var(--space-1);
}
.post-card__title {
	font-family: var(--font-serif);
	font-size: 24px;
	font-weight: 400;
	line-height: 1.2;
	margin: 0 0 var(--space-2);
}
.post-card__title a {
	color: var(--navy);
	text-decoration: none;
}
.post-card__title a:hover { color: var(--gold); }
.post-card__excerpt {
	color: var(--text-secondary);
	font-size: 15px;
	line-height: 1.6;
	margin: 0;
}

/* Posts list / grid wrapping the cards on blog index. */
.posts-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--space-3);
	margin-bottom: var(--space-6);
}
@media (max-width: 1024px) {
	.posts-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
	.posts-list { grid-template-columns: 1fr; }
}
.posts-list--cols-1 { grid-template-columns: 1fr; }
.posts-list--cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.posts-list--cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1024px) {
	.posts-list--cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
	.posts-list--cols-2,
	.posts-list--cols-3 { grid-template-columns: 1fr; }
}

/* Inner-page header — eyebrow + H1 + lead, centred, tight padding.
   Used on Gallery, Destinations, Services hub, search, etc. */
.page-intro {
	padding: var(--space-5) 0 var(--space-4);
	background: var(--white);
}
.page-intro__inner,
.page-intro .container > * {
	max-width: 980px;
	margin: 0 auto;
}
.page-intro h1 {
	max-width: 18ch;
	margin: 0 auto var(--space-3);
	text-align: center;
}
.page-intro .lead,
.page-intro__lead {
	max-width: 720px;
	margin: 0 auto;
	text-align: center;
	font-size: 19px;
	color: var(--text-secondary);
	line-height: 1.7;
}
.page-intro__search {
	margin-top: var(--space-4);
}
.page-header {
	padding: var(--space-5) 0 var(--space-4);
}
.page-header h1 { margin-bottom: var(--space-2); }


/* ---------- BREADCRUMB ----------
   Used on single-service and single-destination — sub-header band. */
.breadcrumb {
	background: var(--page-bg);
	border-bottom: 1px solid var(--line-grey);
	padding: var(--space-2) 0;
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}
.breadcrumb__inner {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	color: var(--text-secondary);
}
.breadcrumb a {
	color: var(--text-secondary);
	text-decoration: none;
}
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb__sep { color: var(--bg-grey); }
.breadcrumb__current {
	color: var(--navy);
	font-weight: 600;
}


/* ---------- SINGLE SERVICE / DESTINATION ----------
   Shared layout — title block, hero image, two-column main + sticky sidebar. */
.service-header {
	padding: var(--space-5) 0 var(--space-4);
	background: var(--white);
}
.service-header__inner { max-width: 980px; }
.service-header__sub {
	font-family: var(--font-serif);
	font-style: italic;
	font-size: 22px;
	color: var(--mid-grey);
	margin-top: var(--space-1);
}

.service-hero {
	width: 100%;
	height: 50vh;
	min-height: 360px;
	max-height: 540px;
	background-size: cover;
	background-position: center;
	background-color: var(--navy);
	margin-bottom: var(--space-6);
}

.service-main { padding: 0 0 var(--space-7); }
.service-main__grid {
	display: grid;
	grid-template-columns: 7fr 4fr;
	gap: var(--space-7);
	align-items: start;
}
.service-body { max-width: 680px; }
.service-body__lead {
	font-family: var(--font-serif);
	font-size: 28px;
	font-weight: 400;
	line-height: 1.35;
	color: var(--navy);
	letter-spacing: -0.005em;
	margin-bottom: var(--space-4);
}
.service-body p {
	font-size: 17px;
	line-height: 1.75;
	color: var(--text-primary);
	margin-bottom: var(--space-3);
}
.service-body__rule {
	width: 60px;
	height: 1px;
	background: var(--gold);
	margin: var(--space-5) 0;
}
.service-body h2 {
	font-size: 32px;
	margin: var(--space-5) 0 var(--space-3);
}
.service-body__list {
	list-style: none;
	padding: 0;
	margin: var(--space-3) 0 var(--space-4);
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--space-2) var(--space-3);
}
.service-body__list li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 15px;
	line-height: 1.5;
	color: var(--text-primary);
}
.service-body__list li::before {
	content: '';
	flex-shrink: 0;
	width: 8px;
	height: 8px;
	margin-top: 8px;
	background: var(--gold);
	border-radius: 50%;
}

/* Sticky right-hand sidebar — at-a-glance card + related links. */
.service-sidebar {
	position: sticky;
	top: 110px;
	align-self: start;
}
.sidebar-card {
	background: var(--cream);
	padding: var(--space-4);
	margin-bottom: var(--space-3);
	border-left: 3px solid var(--gold);
}
.sidebar-card h4 {
	margin-bottom: var(--space-3);
	color: var(--navy);
}
.sidebar-card dl {
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-2);
}
.sidebar-card dt {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--mid-grey);
	margin-bottom: 2px;
}
.sidebar-card dd {
	margin: 0;
	font-size: 15px;
	color: var(--text-primary);
	line-height: 1.5;
}
.sidebar-card__cta {
	margin-top: var(--space-3);
	padding-top: var(--space-3);
	border-top: 1px solid rgba(168, 130, 70, 0.3);
}

.sidebar-related {
	background: var(--white);
	border: 1px solid var(--line-grey);
	padding: var(--space-4);
}
.sidebar-related h4 { margin-bottom: var(--space-2); }
.sidebar-related ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.sidebar-related li {
	padding: 8px 0;
	border-bottom: 1px solid var(--line-grey);
}
.sidebar-related li:last-child { border-bottom: 0; }
.sidebar-related a {
	color: var(--text-primary);
	text-decoration: none;
	font-weight: 500;
	font-size: 15px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	transition: color 0.15s ease;
}
.sidebar-related a::after {
	content: '→';
	color: var(--gold);
	transition: transform 0.2s ease;
}
.sidebar-related a:hover { color: var(--navy); }
.sidebar-related a:hover::after { transform: translateX(3px); }

/* Destination-specific extras. */
.destination-berths {
	margin: 0 0 var(--space-4);
}
.destination-berths dt {
	font-family: var(--font-serif);
	font-size: 21px;
	font-weight: 500;
	color: var(--navy);
	margin-top: var(--space-3);
}
.destination-berths__size {
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 500;
	color: var(--mid-grey);
	letter-spacing: 0.06em;
}
.destination-berths dd {
	margin: 6px 0 0;
	font-size: 16px;
	color: var(--text-secondary);
	line-height: 1.65;
}

.destination-tips {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--space-4);
	margin-top: var(--space-3);
}
.destination-tips__item h3 {
	font-family: var(--font-serif);
	font-size: 22px;
	font-weight: 400;
	color: var(--navy);
	margin-bottom: 6px;
}
.destination-tips__item p {
	color: var(--text-secondary);
	font-size: 15px;
	line-height: 1.6;
}

.destination-gallery {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--space-2);
	margin-top: var(--space-3);
}
.destination-gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	aspect-ratio: 4 / 3;
	display: block;
}


/* ---------- SERVICES ARCHIVE ----------
   Services hub — quick-jump chips + each service_group as a section with
   stacked title and a grid of service tiles (auto-fit so 2/3/4 fills cleanly). */
.service-jump {
	padding: 0 0 var(--space-4);
	background: var(--white);
}
.service-jump__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: var(--space-1);
}
.service-jump a {
	background: transparent;
	border: 1px solid var(--line-grey);
	color: var(--text-secondary);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	padding: 10px 22px;
	text-decoration: none;
	transition: all 0.2s ease;
}
.service-jump a:hover {
	color: var(--navy);
	border-color: var(--navy);
}

.service-groups {
	padding: var(--space-5) 0 var(--space-6);
	background: var(--page-bg);
}
.service-group {
	padding: var(--space-6) 0;
	border-bottom: 1px solid var(--line-grey);
	scroll-margin-top: 110px;
}
.service-group:first-child { padding-top: var(--space-3); }
.service-group:last-child { border-bottom: 0; }
.service-group__header {
	margin: 0 0 var(--space-5);
}
.service-group__header h2 {
	font-size: 36px;
	line-height: 1.1;
	margin-bottom: var(--space-2);
}
.service-group__intro {
	color: var(--text-secondary);
	font-size: 17px;
	max-width: 640px;
	margin: 0 auto;
}
.service-group__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: var(--space-3);
}
.service-tile {
	background: var(--white);
	border: 1px solid var(--line-grey);
	text-decoration: none;
	color: inherit;
	display: flex;
	flex-direction: column;
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
	overflow: hidden;
}
.service-tile:hover {
	transform: translateY(-3px);
	box-shadow: 0 16px 40px rgba(15, 50, 88, 0.08);
	border-color: rgba(22, 68, 117, 0.18);
}
.service-tile__media {
	display: block;
	aspect-ratio: 4 / 3;
	background-size: cover;
	background-position: center;
	background-color: var(--navy);
}
.service-tile__body {
	padding: var(--space-3) var(--space-3) var(--space-4);
	display: flex;
	flex-direction: column;
	flex: 1;
}
.service-tile__name {
	font-family: var(--font-serif);
	font-size: 22px;
	font-weight: 400;
	color: var(--navy);
	line-height: 1.15;
	margin-bottom: var(--space-1);
}
.service-tile__cta {
	margin-top: auto;
	padding-top: var(--space-2);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--navy);
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.service-tile__cta::after {
	content: '→';
	color: var(--gold);
	transition: transform 0.2s ease;
}
.service-tile:hover .service-tile__cta::after { transform: translateX(4px); }


/* ---------- DESTINATIONS ARCHIVE ----------
   Destinations hub — region filter chips + featured card + grid of cards. */
.dest-filters {
	padding: var(--space-3) 0 var(--space-5);
	background: var(--white);
	border-bottom: 1px solid var(--line-grey);
	position: sticky;
	top: var(--nav-height);
	z-index: 20;
	transition: top 0.3s ease;
}
.site-header.is-scrolled ~ main .dest-filters {
	top: var(--nav-height-scrolled);
}
.dest-filters__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: var(--space-1);
}
.dest-filter {
	background: transparent;
	border: 1px solid var(--line-grey);
	color: var(--text-secondary);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	padding: 10px 22px;
	cursor: pointer;
	transition: all 0.2s ease;
}
.dest-filter:hover {
	color: var(--navy);
	border-color: var(--navy);
}
.dest-filter.is-active {
	background: var(--navy);
	border-color: var(--navy);
	color: var(--white);
}
.dest-filter__count {
	display: inline-block;
	margin-left: 6px;
	opacity: 0.6;
	font-weight: 500;
}

.featured-dest {
	padding: var(--space-6) 0;
	background: var(--page-bg);
}
.featured-dest__card {
	display: grid;
	grid-template-columns: 6fr 5fr;
	gap: 0;
	background: var(--white);
	border: 1px solid var(--line-grey);
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.featured-dest__card:hover {
	box-shadow: 0 16px 40px rgba(15, 50, 88, 0.08);
	border-color: rgba(22, 68, 117, 0.18);
}
.featured-dest__media {
	position: relative;
	min-height: 460px;
	background-size: cover;
	background-position: center;
	background-color: var(--navy);
}
.featured-dest__media-label {
	position: absolute;
	top: var(--space-3);
	left: var(--space-3);
	background: rgba(10, 36, 64, 0.7);
	color: var(--white);
	padding: 8px 14px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	backdrop-filter: blur(8px);
}
.featured-dest__body {
	padding: var(--space-7) var(--space-6);
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.featured-dest__body .eyebrow {
	color: var(--gold);
	margin-bottom: var(--space-2);
}
.featured-dest__body h2 {
	font-size: 48px;
	line-height: 1.05;
	margin-bottom: var(--space-3);
}
.featured-dest__body p {
	font-size: 18px;
	color: var(--text-secondary);
	line-height: 1.65;
	margin-bottom: var(--space-4);
}

.destinations-grid-wrap {
	padding: var(--space-5) 0 var(--space-7);
	background: var(--page-bg);
}
.destinations-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--space-3);
}
.dest-card {
	background: var(--white);
	border: 1px solid var(--line-grey);
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: inherit;
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
	overflow: hidden;
}
.dest-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 40px rgba(15, 50, 88, 0.08);
	border-color: rgba(22, 68, 117, 0.18);
}
.dest-card__media {
	display: block;
	aspect-ratio: 4 / 3;
	background-size: cover;
	background-position: center;
	background-color: var(--navy);
}
.dest-card__body {
	padding: var(--space-3) var(--space-4) var(--space-4);
	display: flex;
	flex-direction: column;
	flex: 1;
}
.dest-card__region {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--gold);
	margin: var(--space-2) 0 var(--space-1);
}
.dest-card__name {
	font-family: var(--font-serif);
	font-size: 28px;
	font-weight: 400;
	color: var(--navy);
	line-height: 1.1;
	margin-bottom: var(--space-2);
}
.dest-card__blurb {
	color: var(--text-secondary);
	font-size: 15px;
	line-height: 1.6;
	flex: 1;
	margin-bottom: var(--space-3);
}
.dest-card__cta {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--navy);
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.dest-card__cta::after {
	content: '→';
	color: var(--gold);
	transition: transform 0.2s ease;
}
.dest-card:hover .dest-card__cta::after { transform: translateX(4px); }

.destinations-empty {
	text-align: center;
	padding: var(--space-7) var(--space-4);
	color: var(--text-secondary);
}

@media (max-width: 1024px) {
	.service-main__grid { grid-template-columns: 1fr; gap: var(--space-5); }
	.service-sidebar { position: static; }
	.service-body__list { grid-template-columns: 1fr; }
	.featured-dest__card { grid-template-columns: 1fr; }
	.featured-dest__media { min-height: 320px; }
	.featured-dest__body { padding: var(--space-5) var(--space-4); }
	.featured-dest__body h2 { font-size: 36px; }
	.destinations-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.destination-tips { grid-template-columns: 1fr; }
	.destination-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
	.service-header { padding: var(--space-4) 0 var(--space-3); }
	.service-hero { height: 36vh; min-height: 240px; margin-bottom: var(--space-5); }
	.service-body__lead { font-size: 22px; }
	.destinations-grid { grid-template-columns: 1fr; }
}


/* ---------- BLOG / ARCHIVE ----------
   Blog index + tag/category archives. Optional sidebar wraps via body class:
   on screens without the blog sidebar widget area filled, content goes
   full-width. Single posts use the same .single-post pattern below. */
.blog-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-6);
	padding: 0 0 var(--space-7);
}
.blog-layout--with-sidebar {
	grid-template-columns: minmax(0, 1fr) 300px;
}
.blog-layout__sidebar {
	min-width: 0;
}
@media (max-width: 1024px) {
	.blog-layout--with-sidebar { grid-template-columns: 1fr; }
}

/* WP-generated pagination block. */
.pagination,
.wp-block-query-pagination {
	display: flex;
	justify-content: center;
	gap: 6px;
	padding: var(--space-5) 0;
}
.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 12px;
	border: 1px solid var(--line-grey);
	color: var(--text-secondary);
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	transition: all 0.15s ease;
}
.page-numbers.current,
.page-numbers:hover {
	background: var(--navy);
	border-color: var(--navy);
	color: var(--white);
}


/* ---------- SINGLE POST ----------
   Long-form article view — narrow column for readability. */
.single-post .site-main {
	padding: var(--space-5) 0 var(--space-8);
}
.single-post__article {
	max-width: 760px;
	margin: 0 auto;
}
.single-post__article h1 {
	margin-bottom: var(--space-3);
}
.single-post__header {
	margin-bottom: var(--space-5);
}
.single-post__meta {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--mid-grey);
	margin: 0 0 var(--space-3);
	display: flex;
	gap: var(--space-1);
	align-items: center;
	flex-wrap: wrap;
}
.single-post__cat {
	color: var(--gold);
	text-decoration: none;
	transition: color 0.15s ease;
}
.single-post__cat:hover { color: var(--navy); }
.single-post__meta-sep { color: var(--line-grey); }
.single-post__lead {
	font-size: 20px;
	line-height: 1.55;
	color: var(--text-secondary);
	margin: var(--space-2) 0 0;
	max-width: 56ch;
}
.single-post__featured {
	margin: 0 0 var(--space-5);
}
.single-post__featured img {
	width: 100%;
	height: auto;
	display: block;
}
.single-post__content {
	font-size: 17px;
	line-height: 1.75;
	color: var(--text-primary);
}
.single-post__content > * + * {
	margin-top: var(--space-3);
}
.single-post__content h2,
.single-post__content h3 {
	margin: var(--space-5) 0 var(--space-2);
}
.single-post__content img {
	margin: var(--space-3) 0;
}
/* Migrated op-ed hardening — old WP posts often carry wide tables and raw
   oEmbeds. Keep everything inside the reading column on every viewport. */
.single-post__content table {
	display: block;
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	border-collapse: collapse;
	font-size: 15px;
}
.single-post__content th,
.single-post__content td {
	border: 1px solid var(--line-grey);
	padding: 10px 12px;
	text-align: left;
}
.single-post__content iframe,
.single-post__content embed,
.single-post__content object,
.single-post__content video {
	max-width: 100%;
}
.single-post__content figure {
	margin: var(--space-3) 0;
	max-width: 100%;
}
.single-post__content pre {
	overflow-x: auto;
	max-width: 100%;
	padding: var(--space-2);
	background: var(--cream);
	font-size: 14px;
}
.single-post__content blockquote {
	margin: var(--space-4) 0;
	padding-left: var(--space-3);
	border-left: 3px solid var(--gold);
	font-family: var(--font-serif);
	font-size: 22px;
	line-height: 1.4;
	color: var(--navy);
}
.single-post__pages {
	margin-top: var(--space-4);
	font-size: 14px;
	color: var(--text-secondary);
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-items: center;
}
.single-post__pages a,
.single-post__pages > span:not(.single-post__pages-label) {
	display: inline-flex;
	min-width: 32px;
	height: 32px;
	align-items: center;
	justify-content: center;
	padding: 0 10px;
	border: 1px solid var(--line-grey);
	color: var(--text-secondary);
	text-decoration: none;
}
.single-post__pages a:hover {
	background: var(--navy);
	color: var(--white);
	border-color: var(--navy);
}
.single-post__pages-label {
	margin-right: var(--space-1);
	text-transform: uppercase;
	letter-spacing: 0.16em;
	font-size: 12px;
	font-weight: 700;
	color: var(--mid-grey);
}

/* Tag list under the article body. */
.single-post__footer {
	max-width: 760px;
	margin: var(--space-5) auto 0;
	padding-top: var(--space-3);
	border-top: 1px solid var(--line-grey);
}
.single-post__tags {
	margin: 0;
	display: flex;
	gap: var(--space-1);
	align-items: center;
	flex-wrap: wrap;
}
.single-post__tags-label {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--mid-grey);
	margin-right: var(--space-1);
}
.single-post__tag {
	display: inline-block;
	padding: 4px 12px;
	background: var(--cream);
	border: 1px solid rgba(168, 130, 66, 0.2);
	color: var(--navy);
	font-size: 13px;
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease;
}
.single-post__tag:hover {
	background: var(--gold);
	color: var(--white);
	border-color: var(--gold);
}


/* ---------- POST NAVIGATION (PREV / NEXT) ----------
   Two-up between single-post articles. Hides under the article body, above
   the related-posts strip. */
.post-nav {
	max-width: 760px;
	margin: var(--space-7) auto var(--space-6);
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--space-3);
}
.post-nav__item {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: var(--space-3);
	background: var(--white);
	border: 1px solid var(--line-grey);
	text-decoration: none;
	transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.post-nav__item:hover {
	transform: translateY(-2px);
	border-color: rgba(22, 68, 117, 0.18);
	box-shadow: 0 12px 30px rgba(15, 50, 88, 0.06);
}
.post-nav__item--placeholder {
	background: transparent;
	border-color: transparent;
	pointer-events: none;
}
.post-nav__item--next {
	text-align: right;
	align-items: flex-end;
}
.post-nav__label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--gold);
}
.post-nav__title {
	font-family: var(--font-serif);
	font-size: 18px;
	line-height: 1.3;
	color: var(--navy);
}
@media (max-width: 720px) {
	.post-nav { grid-template-columns: 1fr; }
	.post-nav__item--next { text-align: left; align-items: flex-start; }
	.post-nav__item--placeholder { display: none; }
}


/* ---------- RELATED POSTS (auto-strip beneath single posts) ---------- */
.related-posts {
	max-width: var(--content-width);
	margin: var(--space-7) auto 0;
}
.related-posts__header {
	margin-bottom: var(--space-4);
}
.related-posts__header h2 {
	margin-top: var(--space-1);
}
.related-posts__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--space-3);
}
@media (max-width: 1024px) {
	.related-posts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
	.related-posts__grid { grid-template-columns: 1fr; }
}


/* ---------- SEARCH RESULTS ---------- */
.search-head { padding: var(--space-6) 0 var(--space-4); }
.search-head .container { max-width: var(--content-width); }
.search-head__summary {
	font-family: var(--font-serif);
	font-size: 32px;
	font-weight: 400;
	color: var(--navy);
	margin: 0 0 var(--space-3);
	text-align: left;
}
.search-head__form {
	display: flex;
	gap: var(--space-2);
	max-width: 560px;
	margin: 0 0 var(--space-4);
}
.search-head__form input {
	flex: 1;
	padding: 12px 16px;
	border: 1px solid var(--line-grey);
	font: inherit;
}
.search-controls {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: var(--space-3);
	border-top: 1px solid var(--line-grey);
	padding-top: var(--space-3);
}
.search-chips { display: flex; flex-wrap: wrap; gap: var(--space-1); }
.search-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 16px;
	border: 1px solid var(--line-grey);
	color: var(--text-secondary);
	text-decoration: none;
	font-size: 13px;
	letter-spacing: 0.04em;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.search-chip:hover { border-color: var(--navy); color: var(--navy); }
.search-chip.is-active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.search-chip__count { font-size: 11px; opacity: 0.7; }
.search-sort {
	display: flex;
	align-items: center;
	gap: var(--space-1);
}
.search-sort__go {
	padding: 8px 14px;
	border: 1px solid var(--navy);
	background: var(--navy);
	color: var(--white);
	font-size: 13px;
	letter-spacing: 0.04em;
	cursor: pointer;
}
.search-sort__go:hover { background: var(--navy-dark); border-color: var(--navy-dark); }
.search-sort select {
	padding: 8px 12px;
	border: 1px solid var(--line-grey);
	font: inherit;
	background: var(--white);
	color: var(--text-primary);
}
.search-results { padding: var(--space-4) 0 var(--space-7); }
.search-results__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--space-3);
}
.search-result.is-hidden { display: none; }
@media (max-width: 1024px) {
	.search-results__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.search-head__summary { font-size: 26px; }
}
@media (max-width: 720px) {
	.search-results__list { grid-template-columns: 1fr; }
	.search-controls { flex-direction: column; align-items: flex-start; }
}
.empty-state {
	text-align: center;
	padding: var(--space-7) var(--space-4);
	color: var(--text-secondary);
}


/* ---------- 404 ---------- */
.error-404 {
	padding: var(--space-7) 0;
	text-align: center;
}
.error-404 h1 {
	max-width: 18ch;
	margin: 0 auto var(--space-3);
}
.error-404 .lead {
	max-width: 540px;
	margin: 0 auto var(--space-5);
}
.error-404__search {
	margin-bottom: var(--space-5);
}
.error-404__actions {
	display: flex;
	gap: var(--space-2);
	justify-content: center;
	flex-wrap: wrap;
}


/* ---------- SITE FOOTER ----------
   4 widget-area columns over a navy-deep band, plus a copyright/legal row.
   Footer content lives in Appearance → Widgets — nothing hardcoded. */
.site-footer {
	background: var(--navy-deep);
	color: rgba(255, 255, 255, 0.7);
	padding: var(--space-6) 0 var(--space-3);
	font-size: 14px;
}
.site-footer a {
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
}
.site-footer a:hover { color: var(--gold-soft); }
.site-footer__grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: var(--space-5);
	margin-bottom: var(--space-5);
}
.site-footer__column {
	min-width: 0; /* prevent grid blowout on long content */
}
.site-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding-top: var(--space-3);
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: var(--space-2);
	font-size: 12px;
	color: rgba(255, 255, 255, 0.5);
}
.site-footer__copy {
	color: rgba(255, 255, 255, 0.5);
}
.site-footer__legal {
	display: flex;
	gap: var(--space-3);
}
.site-footer__legal ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: var(--space-3);
}


/* ---------- WIDGETS ----------
   Styles for WP default widgets in footer columns + blog sidebar. */
.footer__widget {
	margin-bottom: var(--space-3);
}
.footer__widget-title {
	color: var(--white);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	margin: 0 0 var(--space-2);
}
.footer__widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.footer__widget li { padding: 4px 0; }

/* Blog sidebar widgets — light context (white background page). */
.widget {
	margin-bottom: var(--space-5);
}
.widget__title {
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--navy);
	margin: 0 0 var(--space-2);
}
.widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.widget li {
	padding: 6px 0;
	border-bottom: 1px solid var(--line-grey);
	font-size: 15px;
}
.widget li:last-child { border-bottom: 0; }
.widget a {
	color: var(--text-primary);
	text-decoration: none;
}
.widget a:hover { color: var(--gold); }

/* Powered-by-Zonkey credit widget. */
.powered-by-zonkey {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.5);
	text-decoration: none;
}
.powered-by-zonkey:hover .powered-by-zonkey__brand { color: var(--gold-soft); }
.powered-by-zonkey__brand {
	font-weight: 600;
	color: rgba(255, 255, 255, 0.85);
	letter-spacing: 0.18em;
	transition: color 0.15s ease;
}


/* ---------- GRAVITY FORMS ---------- */
/* Phase 8 — restyle GF output to match the theme. */


/* ---------- REVEAL ANIMATIONS ---------- */
.reveal {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal--d1 { transition-delay: 0.1s; }
.reveal--d2 { transition-delay: 0.2s; }
.reveal--d3 { transition-delay: 0.3s; }

/* Honour user preference — disable all decorative motion. Essential motion
   (focus indicators, screen-reader-only transitions) stays untouched. */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
	.reveal { opacity: 1; transform: none; }
	html { scroll-behavior: auto; }
}


/* ---------- RESPONSIVE ----------
   Cross-cutting responsive overrides only. Per-component responsive rules
   live with their component sections above (playbook §11). */
@media (max-width: 1024px) {
	h1 { font-size: 56px; }
	h2 { font-size: 32px; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
	h1 { font-size: 44px; }
	h2 { font-size: 28px; }

	/* Header collapses — nav + CTA hide, burger appears. */
	.site-header__nav { display: none; }
	.site-header__cta { display: none; }
	.site-header__burger { display: inline-block; }

	.error-404__actions { flex-direction: column; }
	.site-footer__grid { grid-template-columns: 1fr; }
	.site-footer__bottom { flex-direction: column; align-items: flex-start; }
}
