/* Site-wide above-the-fold - header chrome (all public templates) */
:root {
	--pulse-brand: #ffd100;
	--pulse-brand-hover: #e6bc00;
	--pulse-brand-on: #1a1a1a;
	--pulse-ink: #1a1a1a;
	--pulse-ink-soft: #2b2b2b;
	--pulse-base: #faf9f8;
	--pulse-surface: #ffffff;
	--pulse-muted: #6b6b6b;
	--pulse-border: #e8e6e1;
	--pulse-clinical: #3d6a62;
	--pulse-clinical-dark: #2d5a52;
	--pulse-announcement-bg: #f5f0e0;
	--pulse-on-dark: #f5f5f5;
	--pulse-on-dark-muted: #e8e6e1;
	--pulse-accent-muted: #c4a574;
	--pulse-eyebrow-warm: #8a6b4a;
	--pulse-footer-bg: #2a2622;
	--pulse-link-on-dark: #d0ccc4;
	--pulse-utility-bg: #383430;
	--pulse-overlay-ink: 26, 26, 26;
	--pulse-overlay-panel: rgba(var(--pulse-overlay-ink), 0.58);
	--pulse-overlay-scrim-strong: rgba(var(--pulse-overlay-ink), 0.88);
	--pulse-overlay-text: #fff;
	--pulse-overlay-text-muted: rgba(255, 255, 255, 0.92);
	--pulse-btn-radius: 999px;
	--pulse-btn-padding-y: 0.65rem;
	--pulse-btn-padding-x: 1.35rem;
	--pulse-btn-font-size: 0.9375rem;
	--pulse-btn-min-height: 2.75rem;
	--pulse-btn-sm-padding-y: 0.55rem;
	--pulse-btn-sm-padding-x: 1rem;
	--pulse-btn-sm-font-size: 0.875rem;
	--pulse-btn-sm-min-height: 2.25rem;
}

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

body {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	line-height: 1.6;
	color: var(--pulse-ink);
	background: var(--pulse-base);
}

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

.pulse-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	padding: var(--pulse-btn-padding-y) var(--pulse-btn-padding-x);
	border: 2px solid transparent;
	border-radius: var(--pulse-btn-radius);
	font-family: inherit;
	font-size: var(--pulse-btn-font-size);
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	min-height: var(--pulse-btn-min-height);
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.pulse-btn--primary,
.pulse-btn--book {
	background: var(--pulse-brand);
	color: var(--pulse-brand-on);
}

.pulse-btn--primary:hover,
.pulse-btn--primary:focus-visible,
.pulse-btn--book:hover,
.pulse-btn--book:focus-visible {
	background: var(--pulse-brand-hover);
	color: var(--pulse-brand-on);
}

.pulse-btn--secondary {
	background: transparent;
	color: var(--pulse-overlay-text);
	border-color: var(--pulse-overlay-text);
}

.pulse-btn--secondary:hover,
.pulse-btn--secondary:focus-visible {
	background: rgba(255, 255, 255, 0.1);
	color: var(--pulse-overlay-text);
	border-color: var(--pulse-overlay-text);
}

.pulse-btn--light {
	background: #fff;
	color: var(--pulse-ink);
	border-color: #fff;
}

.pulse-btn--light:hover,
.pulse-btn--light:focus-visible {
	background: var(--pulse-on-dark);
	color: var(--pulse-ink);
	border-color: var(--pulse-on-dark);
}

.pulse-btn--sm {
	--pulse-btn-padding-y: var(--pulse-btn-sm-padding-y);
	--pulse-btn-padding-x: var(--pulse-btn-sm-padding-x);
	--pulse-btn-font-size: var(--pulse-btn-sm-font-size);
	--pulse-btn-min-height: var(--pulse-btn-sm-min-height);
}

.wp-block-pulse-site-header-primary {
	display: contents;
}

.pulse-site-header-top,
header.wp-block-template-part {
	overflow: visible;
}

.wp-site-blocks > .pulse-site-header-top {
	margin-block-end: 0;
}

.wp-site-blocks > .pulse-site-header-top + .pulse-header-primary-sentinel,
.wp-site-blocks > .pulse-header-primary-sentinel,
.wp-site-blocks > header.pulse-header-primary,
.wp-site-blocks > .pulse-site-header-top + header.pulse-header-primary,
.wp-site-blocks > main.pulse-main {
	margin-block-start: 0;
	margin-block-end: 0;
	margin-top: 0;
}

.pulse-site-header {
	position: relative;
}

.pulse-announcement {
	background: var(--pulse-announcement-bg);
	color: var(--pulse-ink);
	font-size: 0.875rem;
	text-align: center;
}

.pulse-announcement__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0.5rem 1.25rem;
}

.pulse-announcement a {
	color: inherit;
	font-weight: 600;
}

.pulse-header-utility {
	background: var(--pulse-utility-bg);
	color: var(--pulse-on-dark-muted);
	font-size: 0.8125rem;
}

.pulse-header-utility__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0.5rem 1.25rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
}

.pulse-brand-pills {
	display: inline-flex;
	align-items: center;
	background: rgba(0, 0, 0, 0.2);
	border-radius: 999px;
	padding: 0.2rem;
	gap: 0.15rem;
}

.pulse-brand-pill {
	display: inline-block;
	padding: 0.35rem 0.85rem;
	border-radius: 999px;
	text-decoration: none;
	color: var(--pulse-on-dark-muted);
	font-weight: 600;
	font-size: 0.75rem;
	white-space: nowrap;
}

.pulse-brand-pill.is-active {
	background: var(--pulse-brand);
	color: var(--pulse-brand-on);
}

.pulse-brand-pill:hover,
.pulse-brand-pill:focus-visible {
	color: #fff;
}

.pulse-brand-pill.is-active:hover,
.pulse-brand-pill.is-active:focus-visible {
	color: var(--pulse-brand-on);
}

.pulse-utility-links {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.pulse-utility-link {
	color: var(--pulse-on-dark-muted);
	text-decoration: none;
	font-weight: 500;
}

.pulse-utility-link:hover,
.pulse-utility-link:focus-visible {
	color: var(--pulse-brand);
}

.pulse-utility-link__icon {
	display: none;
}

@media (max-width: 767px) {
	.pulse-header-utility__inner {
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 0.65rem;
		padding: 0.65rem 0.75rem;
	}

	.pulse-brand-pills {
		justify-content: center;
		flex-wrap: nowrap;
		max-width: 100%;
		padding: 0.25rem;
	}

	.pulse-brand-pill {
		padding: 0.4rem 0.7rem;
		font-size: 0.6875rem;
	}

	.pulse-utility-links {
		flex-wrap: wrap;
		justify-content: center;
		align-items: center;
		gap: 0.5rem 1rem;
		width: 100%;
	}

	.pulse-utility-link {
		display: inline-flex;
		align-items: center;
		gap: 0.35rem;
		font-size: 0.6875rem;
		white-space: nowrap;
	}

	.pulse-utility-link__icon {
		display: inline-flex;
		flex-shrink: 0;
		width: 1.125rem;
		height: 1.125rem;
	}

	.pulse-utility-link__icon svg {
		display: block;
		width: 100%;
		height: 100%;
	}
}

.pulse-header-primary-sentinel {
	height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	line-height: 0;
	overflow: hidden;
}

.pulse-header-primary {
	position: -webkit-sticky;
	position: sticky;
	top: 0;
	z-index: 100;
	display: flex;
	align-items: center;
	background: var(--pulse-ink);
	color: var(--pulse-on-dark);
	min-height: 4.25rem;
	width: 100%;
}

@media screen and (min-width: 783px) {
	body.admin-bar .pulse-header-primary {
		top: var(--wp-admin--admin-bar--height, 32px);
	}
}

@media screen and (min-width: 601px) and (max-width: 782px) {
	body.admin-bar .pulse-header-primary {
		top: var(--wp-admin--admin-bar--height, 46px);
	}
}

@media screen and (max-width: 600px) {
	body.admin-bar .pulse-header-primary {
		top: 0;
	}
}

.pulse-header-primary.is-stuck {
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

.pulse-header-primary__inner {
	flex: 1 1 auto;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0.65rem 1.25rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1rem;
	box-sizing: border-box;
}

.pulse-header-primary__brand {
	display: flex;
	align-items: center;
	align-self: center;
}

.pulse-header-primary__brand .custom-logo-link {
	display: flex;
	align-items: center;
	line-height: 0;
}

.pulse-header-primary__brand .custom-logo-link img,
.pulse-header-primary__logo-text {
	display: block;
	max-height: 2.5rem;
	width: auto;
	object-fit: contain;
	object-position: center;
}

.pulse-header-primary__logo-text {
	color: var(--pulse-brand);
	font-weight: 700;
	font-size: 1.25rem;
	text-decoration: none;
	letter-spacing: 0.04em;
}

.pulse-header-primary__actions {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-left: auto;
	flex: 0 0 auto;
}

@media (min-width: 961px) {
	.pulse-header-primary__brand {
		flex: 1 1 0;
		min-width: 0;
	}

	.pulse-header-primary__actions {
		flex: 1 1 0;
		justify-content: flex-end;
		margin-left: 0;
	}
}

.pulse-nav-toggle {
	display: none;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.35);
	color: #fff;
	border-radius: 4px;
	padding: 0.35rem 0.6rem;
	cursor: pointer;
	min-height: 2.75rem;
	min-width: 2.75rem;
	align-items: center;
	justify-content: center;
}

@media (max-width: 960px) {
	.pulse-header-primary {
		min-height: 0;
	}

	.pulse-header-primary__inner {
		padding: 0.625rem 1rem;
		gap: 0.5rem;
		align-items: center;
	}

	.pulse-header-primary__actions {
		gap: 0.625rem;
		align-items: center;
		align-self: center;
		background: none;
		border-radius: 0;
		overflow: visible;
		box-shadow: none;
	}

	.pulse-header-primary__brand .custom-logo-link img,
	.pulse-header-primary__logo-text {
		max-height: 2.25rem;
	}

	.pulse-header-primary__actions .pulse-btn {
		padding: 0.5rem 0.875rem;
		min-height: 2.5rem;
		height: 2.5rem;
		font-size: 0.8125rem;
		line-height: 1.2;
	}

	.pulse-nav-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-height: 2.5rem;
		height: 2.5rem;
		min-width: 2.5rem;
		width: 2.5rem;
		padding: 0;
		border: 1px solid rgba(255, 255, 255, 0.35);
		border-radius: 8px;
		background: transparent;
		color: #fff;
		flex-shrink: 0;
	}

	.pulse-nav-toggle:hover,
	.pulse-nav-toggle:focus-visible {
		background: rgba(255, 255, 255, 0.08);
		color: #fff;
	}

	.pulse-nav-toggle span[aria-hidden="true"] {
		font-size: 1.125rem;
		line-height: 1;
	}
}
