/*
 * Shoreline header and mega menu (forked from the Reflections chrome).
 * Tokens from the Elementor kit: navy #162351, slate blue #6486AC, gold #C89241 (buttons and arrows only),
 * sand #E7DECD, ink #313131. Headings Newsreader, everything else Public Sans.
 * Over the hero the bar is transparent with a white logo and labels; it turns white once the page scrolls
 * or a panel opens, like the old Elementor header.
 */
.shr-hdr {
	--navy: #162351;
	--blue: #6486ac;
	--gold: #c89241;
	--gold-dk: #a8742a;
	--sand: #e7decd;
	--cream: #fbf8f3;
	--wash: #f3ede2;
	--rule: #e7decd;
	--ink: #313131;
	--muted: #5c5c5c;
	--bar-h: 96px;
	position: fixed;
	inset: 0 0 auto;
	z-index: 1000;
	font-family: "Public Sans", sans-serif;
}
body.admin-bar .shr-hdr { top: 32px; }

/* Over the hero: a soft scrim keeps white labels readable on bright photos. */
.shr-hdr::before {
	content: "";
	position: absolute;
	inset: 0 0 -40px;
	z-index: -1;
	background: linear-gradient(rgba(10, 18, 40, .5), rgba(10, 18, 40, 0));
	pointer-events: none;
	transition: opacity .2s ease;
}
/* Solid white bar once the page scrolls, a panel opens or the drawer opens. */
.shr-hdr::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: #fff;
	box-shadow: 0 2px 18px rgba(22, 35, 81, .1);
	opacity: 0;
	transition: opacity .2s ease;
	pointer-events: none;
}
.shr-hdr.is-solid::before, .shr-hdr.has-open::before, .shr-hdr.is-menu::before { opacity: 0; }
.shr-hdr.is-solid::after, .shr-hdr.has-open::after, .shr-hdr.is-menu::after { opacity: 1; }

.shr-hdr__bar {
	max-width: 1360px;
	margin: 0 auto;
	height: var(--bar-h);
	padding: 0 40px;
	display: flex;
	align-items: center;
	gap: 28px;
	transition: height .2s ease;
}
.shr-hdr.is-solid { --bar-h: 80px; }
.shr-hdr__logo { flex: none; display: block; line-height: 0; }
.shr-hdr__logo img { width: 180px; height: auto; transition: filter .2s ease; }
/* The logo file is the color version; over the hero it shows white. */
.shr-hdr:not(.is-solid):not(.has-open):not(.is-menu) .shr-hdr__logo img { filter: brightness(0) invert(1); }

.shr-nav { margin-left: auto; }
.shr-nav ul { list-style: none; margin: 0; padding: 0; }
.shr-nav__list { display: flex; align-items: center; gap: 2px; }
.shr-nav__pair { display: flex; align-items: center; }
/* The kit styles every <button> as a gold pill; the header's buttons opt out. */
.shr-hdr button.shr-nav__toggle,
.shr-hdr button.shr-hdr__burger { background: none; border: 0; border-radius: 0; padding: 0; margin: 0; min-height: 0; box-shadow: none; font-size: 0; line-height: 0; letter-spacing: 0; color: #fff; }
.shr-hdr button.shr-nav__toggle { width: 24px; height: 32px; display: grid; place-items: center; }
.shr-hdr button.shr-nav__toggle::before { display: block; box-sizing: content-box; border-width: 0 2px 2px 0; }
.shr-hdr .shr-nav__top {
	font: 500 16px/1 "Public Sans", sans-serif;
	color: #fff;
	text-decoration: none;
	padding: 12px 4px 12px 12px;
	white-space: nowrap;
	border-radius: 4px;
	transition: color .15s ease;
}
.shr-nav__item:not(.shr-nav__item--panel) .shr-nav__top { padding-right: 12px; }
.shr-hdr .shr-nav__top:hover,
.shr-nav__item.is-open .shr-nav__top { color: var(--sand); }
.shr-hdr.is-solid .shr-nav__top,
.shr-hdr.has-open .shr-nav__top { color: var(--navy); }
.shr-hdr.is-solid .shr-nav__top:hover,
.shr-hdr.has-open .shr-nav__top:hover,
.shr-hdr.has-open .shr-nav__item.is-open .shr-nav__top { color: var(--gold-dk); }
.shr-nav__top[aria-current="page"] { box-shadow: inset 0 -2px 0 currentColor; border-radius: 0; }
.shr-nav__toggle {
	width: 24px;
	height: 32px;
	padding: 0;
	border: 0;
	background: none;
	color: #fff;
	cursor: pointer;
	display: grid;
	place-items: center;
}
.shr-hdr.is-solid .shr-nav__toggle, .shr-hdr.has-open .shr-nav__toggle { color: var(--navy); }
.shr-nav__toggle::before {
	content: "";
	width: 6px;
	height: 6px;
	border: solid currentColor;
	border-width: 0 1.5px 1.5px 0;
	transform: translateY(-2px) rotate(45deg);
	transition: transform .18s ease;
}
.shr-hdr .shr-nav__item.is-open .shr-nav__toggle { color: var(--gold-dk); }
.shr-nav__item.is-open .shr-nav__toggle::before { transform: translateY(1px) rotate(-135deg); }
.shr-hdr a:focus-visible,
.shr-hdr button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

.shr-hdr .shr-hdr__cta,
.shr-hdr .shr-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font: 600 16px/1 "Public Sans", sans-serif;
	text-decoration: none;
	padding: 15px 22px;
	border-radius: 100px;
	white-space: nowrap;
	transition: background-color .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.shr-hdr .shr-hdr__cta, .shr-hdr .shr-btn--gold { flex: none; color: #fff; background: var(--gold); }
.shr-hdr .shr-hdr__cta:hover, .shr-hdr .shr-btn--gold:hover { background: var(--gold-dk); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(168, 116, 42, .3); }
.shr-hdr__cta-ic {
	width: 16px;
	height: 16px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.shr-hdr .shr-btn--outline { color: var(--navy); background: #fff; box-shadow: inset 0 0 0 1.5px var(--navy); }
.shr-hdr .shr-btn--outline:hover { background: var(--navy); color: #fff; }
.shr-hdr .shr-nav__ctas, .shr-hdr button.shr-hdr__burger { display: none; }

/* Panel ----------------------------------------------------------------------------------------------- */
.shr-nav__panel {
	position: absolute;
	left: 0;
	right: 0;
	top: var(--bar-h);
	background: var(--cream);
	color: var(--ink);
	box-shadow: 0 22px 40px rgba(22, 35, 81, .16);
	border-top: 1px solid var(--rule);
	visibility: hidden;
	opacity: 0;
	transform: translateY(-6px);
	transition: opacity .16s ease, transform .16s ease, visibility 0s linear .16s;
}
.shr-nav__item.is-open > .shr-nav__panel {
	visibility: visible;
	opacity: 1;
	transform: none;
	transition: opacity .16s ease, transform .16s ease, visibility 0s;
}
.shr-nav__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 36px 40px 40px;
	display: grid;
	grid-template-columns: 270px minmax(0, 1fr);
	gap: 40px;
	align-items: start;
}
.shr-nav__inner.has-call { grid-template-columns: 270px minmax(0, 1fr) 250px; }

/* Overview and call cards share one shape; both are whole-card links. */
.shr-hdr .shr-nav__lead,
.shr-hdr .shr-nav__call {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 26px 24px;
	min-height: 210px;
	background: var(--navy);
	color: #fff;
	text-decoration: none;
	border-radius: 10px;
	transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.shr-hdr .shr-nav__call { background: #fff; color: var(--navy); box-shadow: inset 0 0 0 1px var(--rule); }
.shr-hdr .shr-nav__lead:hover { background: #22336d; color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(22, 35, 81, .22); }
.shr-hdr .shr-nav__call:hover { background: var(--navy); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(22, 35, 81, .22); }
.shr-nav__k { font: 600 12px/1 "Public Sans", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--sand); }
.shr-nav__call .shr-nav__k { color: var(--blue); }
.shr-hdr .shr-nav__call:hover .shr-nav__k { color: var(--sand); }
.shr-nav__lt { font: 600 24px/1.2 Newsreader, serif; }
.shr-nav__ld { font-size: 15px; line-height: 1.5; opacity: .88; }
.shr-nav__go { margin-top: auto; font-size: 20px; color: var(--gold); transition: transform .15s ease; }
.shr-hdr .shr-nav__lead:hover .shr-nav__go,
.shr-hdr .shr-nav__call:hover .shr-nav__go { transform: translateX(5px); }

/* Described links. */
.shr-nav__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 20px; }
.shr-hdr .shr-nav__grid > li > a { position: relative; display: block; padding: 13px 40px 13px 14px; border-radius: 8px; text-decoration: none; color: inherit; transition: background-color .12s ease; }
.shr-nav__t { display: block; font: 600 18px/1.3 Newsreader, serif; color: var(--navy); }
.shr-nav__d { display: block; margin-top: 4px; font-size: 14.5px; line-height: 1.45; color: var(--muted); }

/* Grouped plain lists. */
.shr-nav__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
.shr-nav__h {
	margin: 0 0 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--rule);
	font: 600 12px/1 "Public Sans", sans-serif;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--blue);
}
.shr-hdr .shr-nav__list2 a { display: block; position: relative; font-size: 15.5px; line-height: 1.35; padding: 9px 34px 9px 10px; margin-left: -10px; border-radius: 6px; color: var(--ink); text-decoration: none; transition: background-color .12s ease, color .12s ease; }

/* Hover (no underline): sand wash, navy text and a gold arrow that slides in. */
.shr-hdr .shr-nav__grid > li > a::after,
.shr-hdr .shr-nav__list2 a::after {
	content: "\2192";
	position: absolute;
	right: 12px;
	top: 50%;
	color: var(--gold-dk);
	opacity: 0;
	transform: translate(-6px, -50%);
	transition: opacity .12s ease, transform .12s ease;
}
.shr-hdr .shr-nav__grid > li > a:hover,
.shr-hdr .shr-nav__grid > li > a:focus-visible,
.shr-hdr .shr-nav__list2 a:hover,
.shr-hdr .shr-nav__list2 a:focus-visible { background: var(--wash); color: var(--navy); text-decoration: none; }
.shr-hdr .shr-nav__grid > li > a:hover::after,
.shr-hdr .shr-nav__grid > li > a:focus-visible::after,
.shr-hdr .shr-nav__list2 a:hover::after,
.shr-hdr .shr-nav__list2 a:focus-visible::after { opacity: 1; transform: translate(0, -50%); }
.shr-hdr a:hover, .shr-hdr a:focus { text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
	.shr-hdr *, .shr-hdr::before, .shr-hdr::after { transition: none !important; }
}

/* Narrower desktops: tighten, drop the call card. */
@media (max-width: 1280px) {
	.shr-hdr__bar { padding: 0 28px; gap: 16px; }
	.shr-hdr__logo img { width: 160px; }
	.shr-hdr .shr-nav__top { padding-left: 9px; font-size: 15.5px; }
	.shr-nav__inner, .shr-nav__inner.has-call { grid-template-columns: 240px minmax(0, 1fr); gap: 32px; }
	.shr-hdr .shr-nav__call { display: none; }
}

/* Phones and tablets: burger opens a drawer; tapping a label expands its list. ----------------------- */
@media (max-width: 1100px) {
	.shr-hdr, .shr-hdr.is-solid { --bar-h: 72px; }
	.shr-hdr__bar { padding: 0 12px 0 20px; gap: 10px; }
	.shr-hdr__logo img { width: 150px; }
	.shr-hdr .shr-hdr__cta { margin-left: auto; padding: 12px 16px; font-size: 15px; }
	.shr-hdr button.shr-hdr__burger {
		display: grid;
		place-items: center;
		width: 48px;
		height: 48px;
		border: 0;
		background: none;
		cursor: pointer;
		color: #fff;
	}
	.shr-hdr.is-solid .shr-hdr__burger, .shr-hdr.is-menu .shr-hdr__burger { color: var(--navy); }
	.shr-hdr__burger span,
	.shr-hdr__burger span::before,
	.shr-hdr__burger span::after { content: ""; display: block; width: 24px; height: 2px; background: currentColor; border-radius: 1px; position: relative; transition: transform .18s ease, background-color .18s ease; }
	.shr-hdr__burger span::before { position: absolute; top: -7px; }
	.shr-hdr__burger span::after { position: absolute; top: 7px; }
	.shr-hdr.is-menu .shr-hdr__burger span { background: transparent; }
	.shr-hdr.is-menu .shr-hdr__burger span::before { transform: translateY(7px) rotate(45deg); }
	.shr-hdr.is-menu .shr-hdr__burger span::after { transform: translateY(-7px) rotate(-45deg); }

	.shr-nav {
		display: none;
		position: fixed;
		inset: var(--bar-h) 0 0;
		margin: 0;
		background: var(--cream);
		overflow-y: auto;
		overscroll-behavior: contain;
		padding: 8px 0 32px;
	}
	body.admin-bar .shr-nav { top: calc(var(--bar-h) + 46px); }
	.shr-hdr.is-menu .shr-nav { display: block; }
	.shr-nav__list { display: block; }
	.shr-nav__item { border-bottom: 1px solid var(--rule); }
	.shr-nav__pair { justify-content: space-between; }
	.shr-hdr .shr-nav__top, .shr-hdr.is-solid .shr-nav__top,
	.shr-hdr .shr-nav__item:not(.shr-nav__item--panel) .shr-nav__top { display: block; flex: 1; color: var(--navy); font: 600 20px/1.2 Newsreader, serif; padding: 18px 20px; }
	.shr-nav__top[aria-current="page"] { box-shadow: none; }
	.shr-hdr .shr-nav__item.is-open .shr-nav__top { color: var(--gold-dk); }
	.shr-hdr button.shr-nav__toggle { width: 56px; height: 56px; color: var(--navy); }

	.shr-nav__panel { position: static; display: none; visibility: visible; opacity: 1; transform: none; box-shadow: none; border: 0; background: transparent; transition: none; }
	.shr-nav__item.is-open > .shr-nav__panel { display: block; }
	.shr-nav__inner, .shr-nav__inner.has-call { display: block; padding: 0 20px 18px; }
	/* The overview card becomes the first plain row, so the hub stays one tap away. */
	.shr-hdr .shr-nav__lead, .shr-hdr .shr-nav__lead:hover { min-height: 0; padding: 12px 0; background: none; color: var(--navy); flex-direction: row; align-items: center; gap: 8px; border-radius: 0; transform: none; box-shadow: none; }
	.shr-nav__lead .shr-nav__k, .shr-nav__lead .shr-nav__ld { display: none; }
	.shr-nav__lead .shr-nav__lt { font: 600 16px/1.3 "Public Sans", sans-serif; }
	.shr-nav__lead .shr-nav__go { margin: 0; font-size: 16px; }
	.shr-nav__grid { display: block; }
	.shr-hdr .shr-nav__grid > li > a { padding: 12px 34px 12px 10px; margin-left: -10px; }
	.shr-nav__t { font: 400 16.5px/1.3 "Public Sans", sans-serif; color: var(--ink); }
	.shr-nav__d { display: none; }
	.shr-nav__cols { display: block; }
	.shr-nav__col + .shr-nav__col { margin-top: 16px; }
	.shr-nav__h { margin-top: 8px; }
	.shr-hdr .shr-nav__list2 a { padding: 12px 34px 12px 10px; font-size: 16.5px; }
	.shr-hdr .shr-nav__call { display: none; }
	.shr-hdr .shr-nav__ctas { display: grid; gap: 12px; padding: 24px 20px 8px; }
	.shr-hdr .shr-btn { width: 100%; padding: 17px 22px; }
}
@media (max-width: 480px) {
	.shr-hdr__logo img { width: 128px; }
	.shr-hdr .shr-hdr__cta { padding: 12px 14px; font-size: 0; gap: 0; }
	.shr-hdr .shr-hdr__cta::after { content: "Call"; font-size: 15px; margin-left: 6px; }
}
