/* ==========================================================================
   BeeGee's Coastal — Property Management section
   Light by default: shell white with a soft brass + surf wash.
   Signature: "the care cycle" — the five things done for an owner, on repeat.
   ========================================================================== */

.bghf-pm {
	/* brand constants */
	--bghf-brass: #B9832A;
	--bghf-surf: #2A9D8F;
	--bghf-deep: #062A34;

	/* light surface tokens (default) */
	--bghf-bg-1: #FCFBF8;
	--bghf-bg-2: #F0EEE6;
	--bghf-surface: #FFFFFF;
	--bghf-text: #06232C;
	--bghf-muted: rgba(6, 35, 44, .66);
	--bghf-line: rgba(6, 35, 44, .12);
	--bghf-shadow: rgba(6, 35, 44, .18);
	--bghf-btn-bg: var(--bghf-brass);
	--bghf-btn-text: #FFFFFF;
	--bghf-icon: #06232C;

	--bghf-container: 1360px;
	--bghf-display: "Fraunces", Georgia, "Times New Roman", serif;
	--bghf-ui: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--bghf-ease: cubic-bezier(.22, .61, .36, 1);
	--bghf-int: 3600ms;

	position: relative;
	overflow: hidden;
	font-family: var(--bghf-ui);
	color: var(--bghf-text);
	background:
		radial-gradient(58% 48% at 86% 6%, rgba(42, 157, 143, .16), transparent 68%),
		radial-gradient(46% 42% at 6% 2%, rgba(185, 131, 42, .14), transparent 70%),
		radial-gradient(70% 60% at 50% 108%, rgba(42, 157, 143, .10), transparent 70%),
		linear-gradient(180deg, var(--bghf-bg-1) 0%, var(--bghf-bg-2) 100%);
	padding: clamp(70px, 9vw, 130px) 0;
	-webkit-font-smoothing: antialiased;
}

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

/* -------------------------------------------------------- dark variant */

.bghf-pm.is-dark {
	--bghf-brass: #D8A33C;
	--bghf-surf: #39C2B1;
	--bghf-bg-1: #062A34;
	--bghf-bg-2: #03161D;
	--bghf-surface: rgba(243, 239, 230, .05);
	--bghf-text: #F3EFE6;
	--bghf-muted: rgba(243, 239, 230, .62);
	--bghf-line: rgba(243, 239, 230, .13);
	--bghf-shadow: rgba(0, 0, 0, .8);
	--bghf-btn-text: #06222B;
	--bghf-icon: #F3EFE6;

	background:
		radial-gradient(50% 55% at 82% 10%, rgba(57, 194, 177, .16), transparent 70%),
		radial-gradient(42% 48% at 10% 4%, rgba(216, 163, 60, .13), transparent 70%),
		linear-gradient(180deg, var(--bghf-bg-1) 0%, var(--bghf-bg-2) 100%);
}

.bghf-pm .bghf-wrap {
	position: relative;
	width: 100%;
	max-width: var(--bghf-container);
	margin-inline: auto;
	padding-inline: 28px;
}

.bghf-pm a:focus-visible,
.bghf-pm button:focus-visible {
	outline: 2px solid var(--bghf-brass);
	outline-offset: 4px;
	border-radius: 6px;
}

/* -------------------------------------------------------------- reveal */

.bghf-rv {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity .8s var(--bghf-ease), transform .8s var(--bghf-ease);
	transition-delay: var(--d, 0ms);
}

.bghf-rv.is-in {
	opacity: 1;
	transform: none;
}

/* ---------------------------------------------------------------- grid */

.bghf-pm__grid {
	display: grid;
	grid-template-columns: 1.05fr .95fr;
	gap: clamp(40px, 6vw, 88px);
	align-items: center;
}

/* --------------------------------------------------------------- copy */

.bghf-pm__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 22px;
	font-size: 11.5px;
	font-weight: 500;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--bghf-brass);
}

.bghf-pm__eyebrow::before {
	content: "";
	width: 34px;
	height: 1px;
	background: linear-gradient(90deg, var(--bghf-brass), transparent);
}

.bghf-pm__title {
	margin: 0 0 22px;
	font-family: var(--bghf-display);
	font-size: clamp(34px, 4.4vw, 58px);
	font-weight: 600;
	line-height: 1.14;
	letter-spacing: -.02em;
	color: var(--bghf-text);
}

/* accented words — the rule sits clear of the descenders */
.bghf-pm__mark {
	position: relative;
	display: inline-block;
	padding-bottom: .16em;
	font-style: italic;
	color: var(--bghf-brass);
}

.bghf-pm__mark::after {
	content: "";
	position: absolute;
	left: 0;
	right: .06em;
	bottom: 0;
	height: 1.5px;
	border-radius: 2px;
	background: linear-gradient(90deg, var(--bghf-brass), var(--bghf-surf));
	opacity: .85;
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 1.1s var(--bghf-ease) .35s;
}

.is-in .bghf-pm__mark::after {
	transform: scaleX(1);
}

.bghf-pm__lead {
	margin: 0 0 32px;
	max-width: 54ch;
	font-size: clamp(15.5px, 1.15vw, 17px);
	line-height: 1.8;
	color: var(--bghf-muted);
}

/* --------------------------------------------------------------- stats */

.bghf-pm__stats {
	display: flex;
	flex-wrap: wrap;
	gap: 18px 48px;
	padding: 28px 0;
	margin: 0 0 34px;
	border-top: 1px solid var(--bghf-line);
	border-bottom: 1px solid var(--bghf-line);
	list-style: none;
}

.bghf-pm__stat {
	display: block;
}

/* the figure — one line, suffix matched to the number */
.bghf-pm__figure {
	display: flex;
	align-items: baseline;
	gap: 1px;
	font-family: var(--bghf-display);
	font-size: clamp(32px, 3vw, 44px);
	font-weight: 600;
	line-height: 1;
	letter-spacing: -.02em;
	color: var(--bghf-text);
}

.bghf-pm__num,
.bghf-pm__suffix {
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	letter-spacing: inherit;
	font-style: normal;
	display: inline;
	margin: 0;
	text-transform: none;
}

.bghf-pm__suffix {
	color: var(--bghf-brass);
}

.bghf-pm__label {
	display: block;
	margin-top: 10px;
	font-family: var(--bghf-ui);
	font-size: 11.5px;
	font-weight: 400;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--bghf-muted);
}

/* ------------------------------------------------------------- actions */

.bghf-pm__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px 28px;
}

.bghf-pm .bghf-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 16px 30px;
	border-radius: 999px;
	background: var(--bghf-btn-bg);
	color: var(--bghf-btn-text);
	font-family: var(--bghf-ui);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .13em;
	text-transform: uppercase;
	text-decoration: none;
	overflow: hidden;
	isolation: isolate;
	box-shadow: 0 16px 34px -18px var(--bghf-shadow);
	transition: transform .3s var(--bghf-ease), box-shadow .3s var(--bghf-ease);
}

.bghf-pm .bghf-btn::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(100deg, var(--bghf-surf), var(--bghf-brass) 62%);
	opacity: 0;
	transition: opacity .35s var(--bghf-ease);
}

.bghf-pm .bghf-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 20px 40px -18px var(--bghf-shadow);
}

.bghf-pm .bghf-btn:hover::before { opacity: 1; }
.bghf-pm .bghf-btn svg { transition: transform .3s var(--bghf-ease); }
.bghf-pm .bghf-btn:hover svg { transform: translateX(3px); }

.bghf-pm__call {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: var(--bghf-text);
}

.bghf-pm__call span {
	display: block;
	font-size: 10.5px;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--bghf-muted);
}

.bghf-pm__call strong {
	display: block;
	margin-top: 3px;
	font-family: var(--bghf-display);
	font-size: 19px;
	font-weight: 600;
	transition: color .25s var(--bghf-ease);
}

.bghf-pm__call:hover strong { color: var(--bghf-brass); }

/* ============================================================ the cycle */

.bghf-cycle {
	position: relative;
	aspect-ratio: 1 / 1;
	--ring: clamp(320px, 36vw, 520px);
	--r: calc(var(--ring) * .385);
	width: var(--ring);
	max-width: 100%;
	margin-inline: auto;
	display: grid;
	place-items: center;
	transition: transform .5s var(--bghf-ease);
}

/* orbits */
.bghf-cycle__orbit,
.bghf-cycle__orbit-2 {
	position: absolute;
	inset: 6%;
	border-radius: 50%;
	border: 1px dashed rgba(185, 131, 42, .42);
	animation: bghf-spin 60s linear infinite;
}

.bghf-pm.is-dark .bghf-cycle__orbit {
	border-color: rgba(216, 163, 60, .38);
}

.bghf-cycle__orbit-2 {
	inset: 17%;
	border-style: solid;
	border-color: var(--bghf-line);
	animation-duration: 42s;
	animation-direction: reverse;
}

@keyframes bghf-spin {
	to { transform: rotate(360deg); }
}

.bghf-cycle__sweep {
	position: absolute;
	inset: 17%;
	border-radius: 50%;
	background: conic-gradient(from 0deg, transparent 0deg, rgba(42, 157, 143, .20) 40deg, transparent 92deg);
	animation: bghf-spin 14s linear infinite;
	filter: blur(8px);
	pointer-events: none;
}

.bghf-pm.is-dark .bghf-cycle__sweep {
	background: conic-gradient(from 0deg, transparent 0deg, rgba(57, 194, 177, .22) 40deg, transparent 92deg);
}

/* centre disc */
.bghf-cycle__core {
	position: relative;
	z-index: 3;
	width: 47%;
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	display: grid;
	place-items: center;
	text-align: center;
	padding: 24px;
	background: var(--bghf-surface);
	border: 1px solid rgba(185, 131, 42, .3);
	box-shadow: 0 30px 60px -34px var(--bghf-shadow), inset 0 0 40px rgba(42, 157, 143, .05);
	overflow: hidden;
}

.bghf-pm.is-dark .bghf-cycle__core {
	background: #04222B;
	border-color: rgba(216, 163, 60, .3);
}

.bghf-cycle__core img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: .12;
	filter: saturate(.6);
}

.bghf-pm.is-dark .bghf-cycle__core img {
	opacity: .26;
}

.bghf-cycle__core-in {
	position: relative;
	z-index: 2;
}

.bghf-cycle__step {
	display: block;
	font-size: 10.5px;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--bghf-brass);
	margin-bottom: 10px;
}

.bghf-cycle__label {
	display: block;
	font-family: var(--bghf-display);
	font-size: clamp(17px, 1.7vw, 23px);
	font-weight: 600;
	line-height: 1.15;
	color: var(--bghf-text);
}

.bghf-cycle__desc {
	display: block;
	margin-top: 10px;
	font-size: 12.5px;
	line-height: 1.6;
	color: var(--bghf-muted);
	max-width: 22ch;
	margin-inline: auto;
}

.bghf-cycle__core-in.is-swap {
	animation: bghf-swap .5s var(--bghf-ease);
}

@keyframes bghf-swap {
	0% { opacity: 0; transform: translateY(8px) scale(.98); }
	100% { opacity: 1; transform: none; }
}

/* ----------------------------------------------------------- the nodes */

.bghf-cycle__nodes {
	position: absolute;
	inset: 0;
	z-index: 4;
}

.bghf-node {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 118px;
	margin: -59px 0 0 -59px;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	cursor: pointer;
	transform: rotate(var(--a)) translate(var(--r)) rotate(calc(-1 * var(--a)));
	display: grid;
	justify-items: center;
	gap: 9px;
	text-align: center;
}

.bghf-node__dot {
	position: relative;
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background: var(--bghf-surface);
	border: 1px solid var(--bghf-line);
	color: var(--bghf-icon);
	box-shadow: 0 12px 24px -16px var(--bghf-shadow);
	transition: transform .45s var(--bghf-ease), border-color .4s var(--bghf-ease),
		background .4s var(--bghf-ease), color .4s var(--bghf-ease), box-shadow .4s var(--bghf-ease);
}

.bghf-pm.is-dark .bghf-node__dot {
	background: #04202A;
}

.bghf-node__glyph {
	width: 22px;
	height: 22px;
	transition: transform .45s var(--bghf-ease);
}

.bghf-node__dot i,
.bghf-node__dot svg[class*="e-font-icon"] {
	font-size: 19px;
	line-height: 1;
}

.bghf-node__name {
	font-size: 11px;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--bghf-muted);
	transition: color .35s var(--bghf-ease);
	line-height: 1.35;
}

/* hover */
.bghf-node:hover .bghf-node__dot {
	transform: translateY(-2px) scale(1.06);
	border-color: rgba(185, 131, 42, .55);
}

.bghf-node:hover .bghf-node__name {
	color: var(--bghf-text);
}

/* active */
.bghf-node.is-active .bghf-node__dot {
	background: var(--bghf-brass);
	border-color: var(--bghf-brass);
	color: #fff;
	transform: scale(1.14);
	box-shadow: 0 0 0 8px rgba(185, 131, 42, .14), 0 18px 32px -16px rgba(185, 131, 42, .7);
}

.bghf-pm.is-dark .bghf-node.is-active .bghf-node__dot {
	color: #06222B;
	box-shadow: 0 0 0 8px rgba(216, 163, 60, .14), 0 18px 32px -16px rgba(216, 163, 60, .8);
}

.bghf-node.is-active .bghf-node__name {
	color: var(--bghf-text);
	font-weight: 500;
}

/* icon animation on becoming active */
.bghf-node.is-active .bghf-node__glyph {
	animation: bghf-pop .55s var(--bghf-ease);
}

@keyframes bghf-pop {
	0% { transform: scale(.6) rotate(-14deg); opacity: .4; }
	55% { transform: scale(1.16) rotate(4deg); opacity: 1; }
	100% { transform: none; }
}

/* the timer ring that fills while a step is showing */
.bghf-node__ring {
	position: absolute;
	inset: -7px;
	width: calc(100% + 14px);
	height: calc(100% + 14px);
	transform: rotate(-90deg);
	opacity: 0;
	transition: opacity .3s var(--bghf-ease);
	pointer-events: none;
}

.bghf-node__ring circle {
	fill: none;
	stroke: var(--bghf-surf);
	stroke-width: 2;
	stroke-linecap: round;
	stroke-dasharray: 220;
	stroke-dashoffset: 220;
}

.bghf-node.is-active .bghf-node__ring {
	opacity: 1;
}

.bghf-node.is-active .bghf-node__ring circle {
	animation: bghf-timer var(--bghf-int, 3600ms) linear forwards;
}

.bghf-cycle.is-paused .bghf-node.is-active .bghf-node__ring circle {
	animation-play-state: paused;
}

@keyframes bghf-timer {
	from { stroke-dashoffset: 220; }
	to { stroke-dashoffset: 0; }
}

/* ------------------------------------------------------- promise cards */

.bghf-pm__promises {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
	margin-top: clamp(48px, 6vw, 76px);
	padding: 0;
	list-style: none;
}

.bghf-promise {
	position: relative;
	padding: 28px 28px 28px 30px;
	border: 1px solid var(--bghf-line);
	border-radius: 16px;
	background: var(--bghf-surface);
	box-shadow: 0 20px 40px -34px var(--bghf-shadow);
	overflow: hidden;
	transition: transform .4s var(--bghf-ease), border-color .4s var(--bghf-ease), box-shadow .4s var(--bghf-ease);
}

.bghf-promise::before {
	content: "";
	position: absolute;
	left: 0;
	top: 18%;
	bottom: 18%;
	width: 2px;
	border-radius: 2px;
	background: linear-gradient(180deg, var(--bghf-brass), var(--bghf-surf));
	transform: scaleY(0);
	transform-origin: top center;
	transition: transform .5s var(--bghf-ease);
}

.bghf-promise:hover {
	transform: translateY(-4px);
	border-color: rgba(185, 131, 42, .4);
	box-shadow: 0 26px 46px -30px var(--bghf-shadow);
}

.bghf-promise:hover::before { transform: scaleY(1); }

.bghf-promise h4 {
	margin: 0 0 8px;
	font-family: var(--bghf-display);
	font-size: 18px;
	font-weight: 600;
	color: var(--bghf-text);
}

.bghf-promise p {
	margin: 0;
	font-size: 14px;
	line-height: 1.7;
	color: var(--bghf-muted);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
	.bghf-pm__grid { grid-template-columns: 1fr; }
	.bghf-cycle { --ring: clamp(320px, 66vw, 470px); }
	.bghf-pm__promises { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
	.bghf-pm .bghf-wrap { padding-inline: 18px; }
	.bghf-pm__promises { grid-template-columns: 1fr; }

	/* the ring becomes a legible list on phones */
	.bghf-cycle {
		aspect-ratio: auto;
		--ring: 100%;
		width: 100%;
		display: block;
		transform: none !important;
	}

	.bghf-cycle__orbit,
	.bghf-cycle__orbit-2,
	.bghf-cycle__sweep { display: none; }

	.bghf-cycle__core {
		position: relative;
		width: 100%;
		aspect-ratio: auto;
		padding: 30px 24px;
		border-radius: 20px;
		margin-bottom: 18px;
	}

	.bghf-cycle__nodes {
		position: relative;
		inset: auto;
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 10px;
	}

	.bghf-node {
		position: relative;
		top: auto;
		left: auto;
		width: 100%;
		margin: 0;
		transform: none !important;
		grid-template-columns: 44px 1fr;
		justify-items: start;
		align-items: center;
		text-align: left;
		padding: 10px;
		border: 1px solid var(--bghf-line);
		border-radius: 14px;
		background: var(--bghf-surface);
	}

	.bghf-node__dot { width: 44px; height: 44px; box-shadow: none; }
	.bghf-node__glyph { width: 18px; height: 18px; }
	.bghf-node__ring { display: none; }
	.bghf-node__name { font-size: 10.5px; letter-spacing: .08em; }
	.bghf-node.is-active { border-color: var(--bghf-brass); }
	.bghf-node.is-active .bghf-node__dot { transform: none; box-shadow: none; }
	.bghf-pm__stats { gap: 20px 34px; }
}

@media (prefers-reduced-motion: reduce) {
	.bghf-pm *,
	.bghf-pm *::before,
	.bghf-pm *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
	.bghf-rv { opacity: 1; transform: none; }
	.bghf-pm__mark::after { transform: scaleX(1); }
	.bghf-node__ring { display: none; }
}
