/* ==========================================================================
   UCTH header  |  uc-header.css
   Load AFTER your existing stylesheets. Every selector is prefixed "uh-"
   so it cannot clash with style.css, style-starter.css or headerrfile.css.
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600;700&family=Source+Sans+3:wght@400;600;700&display=swap");

/* ---------- Tokens ---------- */
.uh-root {
	--uh-g950: #072a1e;
	--uh-g900: #0a3828;
	--uh-g800: #0d4a34;
	--uh-g600: #1a7a52;
	--uh-g100: #e8f2ec;
	--uh-gold: #c8a24a;
	--uh-gold-d: #8f6f22;
	--uh-ivory: #fcfbf7;
	--uh-ink: #14231c;
	--uh-mute: #58665f;
	--uh-line: #e7e3d6;
	--uh-red: #b3261e;
	--uh-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--uh-sans: "Source Sans 3", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
	--uh-ease: cubic-bezier(.22, .7, .2, 1);

	display: block;
	margin: 0;
	padding: 0;
}

/* The header is fixed, so the page needs room beneath it.
   uc-header.js measures the real height and sets --uh-offset. */
body:has(.uh-root) { padding-top: var(--uh-offset, 97px); }
html { scroll-padding-top: calc(var(--uh-offset, 97px) + 12px); }
@media (min-width: 1100px) {
	body:has(.uh-root) { padding-top: var(--uh-offset, 110px); }
	html { scroll-padding-top: calc(var(--uh-offset, 110px) + 12px); }
}

html.uh-lock { overflow: hidden; }

/* ---------- Scoped reset (beats the global "* { font-family }" rule) ---------- */
.uh, .uh * { font-family: var(--uh-sans); }
.uh *, .uh *::before, .uh *::after { box-sizing: border-box; }
.uh ul { list-style: none; margin: 0; padding: 0; }
.uh li { list-style: none; }
.uh h3, .uh p { margin: 0; padding: 0; }
.uh a { text-decoration: none; }
.uh a:hover { text-decoration: none; }
.uh button {
	font: inherit; color: inherit; background: none; border: 0; padding: 0;
	border-radius: 0; -webkit-appearance: none; appearance: none; text-align: inherit;
}
.uh [hidden] { display: none !important; }
.uh :focus-visible { outline: 2px solid var(--uh-g600); outline-offset: 2px; }
.uh .uh-util :focus-visible, .uh .uh-ticker :focus-visible, .uh .uh-drawer__foot :focus-visible { outline-color: var(--uh-gold); }

/* ---------- Shell ---------- */
.uh {
	position: fixed; top: 0; left: 0; right: 0; z-index: 1040;
	display: flex; flex-direction: column;
	color: var(--uh-ink);
	-webkit-font-smoothing: antialiased;
	--uh-bar-h: 64px;
}
.uh.is-scrolled { --uh-bar-h: 58px; }
.uh.uh-measure, .uh.uh-measure * { transition: none !important; }

/* ---------- Top strip + ticker (mobile: ticker becomes its own row) ---------- */
.uh-util, .uh-util__in { display: contents; }
.uh-emerg, .uh-util__links { display: none; }

.uh-ticker {
	order: 3;
	display: flex; align-items: center; gap: 10px;
	height: 32px; padding: 0 12px; min-width: 0;
	background: var(--uh-g950); color: #fff;
}
.uh-ticker__tag {
	flex: none; padding: 3px 9px; border-radius: 5px;
	background: #c62839; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .02em;
}
.uh-ticker__vp {
	flex: 1; min-width: 0; overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 20px, #000 calc(100% - 20px), transparent);
	mask-image: linear-gradient(90deg, transparent, #000 20px, #000 calc(100% - 20px), transparent);
}
.uh-ticker__track {
	display: flex; width: max-content;
	animation: uh-marquee var(--uh-dur, 40s) linear infinite;
}
.uh-ticker__group { display: flex; flex: none; }
.uh-ticker__item {
	position: relative; flex: none; padding: 0 26px;
	font-size: 12.5px; font-weight: 600; line-height: 32px; color: #fff; white-space: nowrap;
}
.uh-ticker__item::before {
	content: ""; position: absolute; left: 0; top: 50%;
	width: 5px; height: 5px; background: var(--uh-gold);
	transform: translateY(-50%) rotate(45deg);
}
/* Hover pauses only over the headline text, never over the button,
   so the pause/play button always has the final say. */
.uh-ticker__vp:hover .uh-ticker__track,
.uh-ticker.is-paused .uh-ticker__track { animation-play-state: paused; }

.uh-ticker__pause {
	flex: none; width: 26px; height: 26px; display: grid; place-items: center;
	border-radius: 6px; color: #cfe0d6; cursor: pointer;
}
.uh-ticker__pause:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.uh-ticker__pause svg { fill: currentColor; }
.uh-ticker .ico-play { display: none; }
.uh-ticker.is-paused .ico-play { display: block; }
.uh-ticker.is-paused .ico-pause { display: none; }

@keyframes uh-marquee { to { transform: translateX(-50%); } }

/* ---------- Main bar ---------- */
.uh-main {
	order: 2; position: relative;
	height: var(--uh-bar-h);
	background: var(--uh-ivory);
	border-bottom: 1px solid var(--uh-line);
	transition: height .3s var(--uh-ease), box-shadow .3s ease;
}
.uh-main::after {          /* fine gold rule under the bar */
	content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
	background: linear-gradient(90deg, transparent, var(--uh-gold) 18%, var(--uh-gold) 82%, transparent);
	pointer-events: none;
}
.uh.is-scrolled .uh-main { box-shadow: 0 12px 30px -16px rgba(7, 42, 30, .4); }

.uh-main__in {
	height: 100%; max-width: 1360px; margin: 0 auto; padding: 0 14px;
	display: flex; align-items: center; gap: 14px;
}

/* ---------- Brand ---------- */
.uh-brand { display: flex; align-items: center; gap: 11px; flex: none; color: var(--uh-g900); }
.uh-brand__crest { height: 40px; width: auto; display: block; transition: height .3s var(--uh-ease); }
.uh.is-scrolled .uh-brand__crest { height: 36px; }
.uh-brand__text { display: flex; flex-direction: column; }
.uh .uh-brand__name {
	font-family: var(--uh-serif); font-weight: 700; font-size: 28px; line-height: 1;
	letter-spacing: .06em; color: var(--uh-g900);
}
.uh-brand__sub {
	display: none; margin-top: 4px;
	font-size: 11.5px; line-height: 1; letter-spacing: .02em; color: var(--uh-mute);
}
@media (min-width: 540px) and (max-width: 1099px) { .uh-brand__sub { display: block; } }

/* ---------- Right-hand actions ---------- */
.uh-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; flex: none; }
.uh-cta--bar { display: none; }

.uh-cta {
	display: inline-flex; align-items: center; justify-content: center;
	height: 42px; padding: 0 20px; border-radius: 10px;
	background: var(--uh-gold); color: var(--uh-g950);
	font-size: 14.5px; font-weight: 700; white-space: nowrap;
	transition: background .2s ease, transform .2s var(--uh-ease), box-shadow .2s ease;
}
.uh .uh-cta:hover { background: #d8b45a; color: var(--uh-g950); transform: translateY(-1px); box-shadow: 0 8px 18px -8px rgba(143, 111, 34, .7); }

.uh-iconbtn, .uh-burger {
	width: 44px; height: 44px; border-radius: 12px;
	display: inline-grid; place-items: center; position: relative; cursor: pointer;
}
.uh-iconbtn--call { background: var(--uh-red); color: #fff; }
.uh .uh-iconbtn--call:hover { background: #9a1f18; color: #fff; }
.uh-burger { color: var(--uh-g900); }
.uh-burger:hover { background: var(--uh-g100); }
.uh-burger span {
	position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: currentColor;
}
.uh-burger span:nth-child(1) { top: 15px; }
.uh-burger span:nth-child(2) { top: 21px; }
.uh-burger span:nth-child(3) { top: 27px; }

/* ---------- Navigation (mobile first: slide-in drawer) ---------- */
.uh-scrim {
	position: fixed; inset: 0; z-index: 5;
	background: rgba(7, 42, 30, .58);
	opacity: 0; visibility: hidden;
	transition: opacity .3s ease, visibility 0s .3s;
}
.uh-scrim.is-on { opacity: 1; visibility: visible; transition-delay: 0s; }

.uh-nav {
	position: fixed; top: 0; right: 0; bottom: 0; z-index: 10;
	width: min(420px, 100%);
	display: flex; flex-direction: column;
	background: var(--uh-ivory);
	box-shadow: -30px 0 60px -24px rgba(7, 42, 30, .5);
	overflow-y: auto; overscroll-behavior: contain;
	transform: translateX(102%); visibility: hidden;
	transition: transform .38s var(--uh-ease), visibility 0s .38s;
}
.uh-nav.is-open { transform: none; visibility: visible; transition-delay: 0s; }

.uh-drawer__head {
	position: sticky; top: 0; z-index: 2; flex: none;
	height: 64px; padding: 0 12px 0 20px;
	display: flex; align-items: center; justify-content: space-between;
	background: var(--uh-ivory); border-bottom: 1px solid var(--uh-line);
}
.uh-close { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; color: var(--uh-g900); cursor: pointer; }
.uh-close:hover { background: var(--uh-g100); }

.uh-list { padding: 6px 14px 10px; }
.uh-item { display: block; border-bottom: 1px solid var(--uh-line); }
.uh-link {
	display: flex; align-items: center; justify-content: space-between; gap: 8px;
	width: 100%; min-height: 54px; padding: 0 8px;
	font-size: 17px; font-weight: 600; color: var(--uh-ink); cursor: pointer;
}
.uh .uh-link:hover { color: var(--uh-g600); }
.uh .uh-link.is-active { color: var(--uh-g600); box-shadow: inset 3px 0 0 var(--uh-gold); padding-left: 14px; }

.uh-caret {
	flex: none; width: 8px; height: 8px; margin-left: 4px;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	transition: transform .25s var(--uh-ease);
}
.uh-item.is-open > .uh-link .uh-caret,
.uh-dsub.is-open > .uh-dsub__btn .uh-caret { transform: rotate(-135deg) translate(-2px, -1px); }

/* Accordion panels (drawer) */
.uh-panel {
	display: grid; grid-template-rows: 0fr; visibility: hidden;
	transition: grid-template-rows .3s var(--uh-ease), visibility 0s .3s;
}
.uh-item.is-open > .uh-panel { grid-template-rows: 1fr; visibility: visible; transition-delay: 0s; }
.uh-panel__in { min-height: 0; overflow: hidden; }
.uh-panel__pad { padding: 2px 4px 16px; }

.uh-drop-link {
	display: block; padding: 12px 10px 12px 14px; margin-left: 6px;
	border-left: 2px solid var(--uh-line);
	font-size: 16px; font-weight: 500; color: var(--uh-ink);
}
.uh .uh-drop-link:hover { color: var(--uh-g600); border-left-color: var(--uh-gold); }
.uh .uh-drop-link[aria-disabled="true"] { color: var(--uh-mute); cursor: default; }
.uh .uh-drop-link[aria-disabled="true"]:hover { color: var(--uh-mute); border-left-color: var(--uh-line); }
.uh-soon {
	display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 999px;
	background: #f4ecd6; color: var(--uh-gold-d); font-size: 11.5px; font-weight: 600; vertical-align: 1px;
}

/* Departments search + groups */
.uh-psearch { position: relative; margin: 4px 0 14px; }
.uh-psearch svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--uh-mute); pointer-events: none; }
.uh .uh-input {
	display: block; width: 100%; height: 44px; margin: 0; padding: 0 14px 0 40px;
	border: 1px solid var(--uh-line); border-radius: 10px; background: #fff;
	font-size: 15px; color: var(--uh-ink); box-shadow: none; -webkit-appearance: none; appearance: none;
}
.uh .uh-input::placeholder { color: #84918a; opacity: 1; }
.uh .uh-input:focus { outline: none; border-color: var(--uh-g600); box-shadow: 0 0 0 3px rgba(26, 122, 82, .18); }

.uh-mega { display: grid; grid-template-columns: 1fr; gap: 6px; }
.uh-col { display: flex; flex-direction: column; gap: 6px; }
.uh-group { margin-bottom: 10px; }
.uh .uh-gtitle {
	margin: 0 0 6px; padding: 0 0 8px;
	font-family: var(--uh-serif); font-weight: 700; font-size: 20px; line-height: 1.2;
	color: var(--uh-g800); border-bottom: 1px solid var(--uh-line);
}
.uh-dlink {
	display: flex; align-items: center; justify-content: space-between; gap: 8px;
	width: 100%; padding: 8px 8px; border-radius: 8px;
	font-size: 15px; line-height: 1.35; color: var(--uh-ink); cursor: pointer;
}
.uh .uh-dlink:hover { background: var(--uh-g100); color: var(--uh-g800); }

.uh-dsub__wrap {
	display: grid; grid-template-rows: 0fr; visibility: hidden;
	transition: grid-template-rows .25s var(--uh-ease), visibility 0s .25s;
}
.uh-dsub.is-open > .uh-dsub__wrap { grid-template-rows: 1fr; visibility: visible; transition-delay: 0s; }
.uh-dsub__list { min-height: 0; overflow: hidden; margin-left: 10px; padding-left: 10px; border-left: 2px solid var(--uh-gold); }
.uh-dsub__list .uh-dlink { font-size: 14.5px; color: var(--uh-mute); }

.uh-empty { padding: 14px 4px 6px; font-size: 15px; color: var(--uh-mute); }

/* Drawer footer */
.uh-drawer__foot {
	margin-top: auto; padding: 20px 20px 28px;
	display: grid; gap: 14px;
	background: var(--uh-g950); color: #dbe8e0;
}
.uh-drawer__foot .uh-cta { height: 48px; font-size: 16px; }
.uh-call {
	display: flex; flex-direction: column; gap: 2px; padding: 12px 14px;
	border: 1px solid rgba(255, 255, 255, .18); border-radius: 10px; color: #cfe0d6; font-size: 13.5px;
}
.uh-call strong { color: #fff; font-size: 19px; letter-spacing: .02em; }
.uh .uh-call:hover { border-color: var(--uh-gold); color: #cfe0d6; }
.uh-drawer__links { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14.5px; }
.uh .uh-drawer__links a { color: #dbe8e0; }
.uh .uh-drawer__links a:hover { color: var(--uh-gold); }

/* Pulsing dot on the emergency line (one deliberate motion) */
.uh-pulse {
	flex: none; width: 8px; height: 8px; border-radius: 50%; background: #ff5a4d;
	box-shadow: 0 0 0 0 rgba(255, 90, 77, .6);
	animation: uh-pulse 2.2s ease-out infinite;
}
@keyframes uh-pulse {
	70%  { box-shadow: 0 0 0 8px rgba(255, 90, 77, 0); }
	100% { box-shadow: 0 0 0 0 rgba(255, 90, 77, 0); }
}

/* ==========================================================================
   Desktop  (1100px and up)
   ========================================================================== */
@media (min-width: 1100px) {

	.uh { --uh-bar-h: 72px; }
	.uh.is-scrolled { --uh-bar-h: 62px; }

	/* Top strip */
	.uh-util { display: block; order: 1; background: var(--uh-g950); color: #d3e3d9; }
	.uh-util__in {
		display: flex; align-items: center; gap: 26px;
		height: 36px; max-width: 1360px; margin: 0 auto; padding: 0 28px;
	}
	.uh-emerg {
		display: inline-flex; align-items: center; gap: 9px; flex: none;
		font-size: 13px; color: #d3e3d9;
	}
	.uh-emerg strong { color: #fff; font-weight: 700; letter-spacing: .02em; }
	.uh .uh-emerg:hover { color: #fff; }
	.uh .uh-emerg:hover strong { color: var(--uh-gold); }

	.uh-ticker { order: 0; flex: 1; height: 100%; padding: 0; background: transparent; }
	.uh-ticker__item { line-height: 36px; font-size: 13px; }

	.uh-util__links { display: flex; align-items: center; gap: 18px; margin-left: auto; flex: none; }
	.uh .uh-ulink { font-size: 13px; color: #d3e3d9; }
	.uh .uh-ulink:hover { color: var(--uh-gold); }
	.uh-fb {
		width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%;
		border: 1px solid rgba(255, 255, 255, .28); color: #d3e3d9;
		transition: background .2s ease, color .2s ease, border-color .2s ease;
	}
	.uh-fb svg { fill: currentColor; }
	.uh .uh-fb:hover { background: var(--uh-gold); border-color: var(--uh-gold); color: var(--uh-g950); }

	/* Main bar */
	.uh-main__in { padding: 0 28px; gap: 20px; }
	.uh-brand__crest { height: 44px; }
	.uh.is-scrolled .uh-brand__crest { height: 38px; }
	.uh-brand__sub { display: none; }

	/* Nav becomes a horizontal bar */
	.uh-scrim { display: none; }
	.uh-nav {
		position: static; z-index: auto; flex: 1; height: 100%; width: auto;
		flex-direction: row; justify-content: center; align-items: stretch;
		background: none; box-shadow: none; overflow: visible;
		transform: none; visibility: visible; transition: none;
	}
	.uh-drawer__head, .uh-drawer__foot { display: none; }

	.uh-list { display: flex; align-items: stretch; height: 100%; padding: 0; gap: 8px; }
	.uh-item { display: flex; align-items: stretch; border-bottom: 0; }
	.uh-item--drop { position: relative; }

	.uh-link {
		position: relative; width: auto; height: 100%; min-height: 0; padding: 0 14px;
		justify-content: center; gap: 6px;
		font-size: 14.5px; white-space: nowrap;
	}
	.uh .uh-link.is-active { box-shadow: none; padding-left: 14px; color: var(--uh-g800); }
	.uh-link::after {
		content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px;
		background: var(--uh-gold); border-radius: 3px 3px 0 0;
		transform: scaleX(0); transform-origin: left center;
		transition: transform .28s var(--uh-ease);
	}
	.uh .uh-link:hover::after,
	.uh .uh-link.is-active::after,
	.uh-item.is-open > .uh-link::after { transform: scaleX(1); }
	.uh .uh-item.is-open > .uh-link { color: var(--uh-g800); }
	.uh-caret { width: 6px; height: 6px; margin-left: 2px; }

	/* Floating panels */
	.uh-panel {
		display: block; position: absolute; top: 100%; z-index: 3;
		background: var(--uh-ivory); border-top: 2px solid var(--uh-gold);
		border-radius: 0 0 14px 14px;
		box-shadow: 0 30px 54px -20px rgba(7, 42, 30, .4), 0 0 0 1px var(--uh-line);
		opacity: 0; visibility: hidden; transform: translateY(8px);
		transition: opacity .2s ease, transform .26s var(--uh-ease), visibility 0s .26s;
	}
	.uh-item.is-open > .uh-panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
	.uh-panel__in { overflow: visible; }

	.uh-item--drop .uh-panel { left: 0; min-width: 300px; }
	.uh-item--drop .uh-panel__pad { padding: 8px; }
	.uh-drop-link {
		margin: 0; padding: 10px 12px; border-left: 0; border-radius: 9px;
		font-size: 14.5px; font-weight: 600; white-space: nowrap;
	}
	.uh .uh-drop-link:hover { background: var(--uh-g100); color: var(--uh-g800); }
	.uh .uh-drop-link[aria-disabled="true"]:hover { background: transparent; }

	.uh-item--mega { position: static; }
	.uh-item--mega .uh-panel { left: 0; right: 0; width: min(1180px, calc(100vw - 32px)); margin: 0 auto; }
	.uh-item--mega .uh-panel__pad { padding: 22px 28px 26px; max-height: calc(100vh - 150px); overflow-y: auto; overscroll-behavior: contain; }

	.uh-psearch { max-width: 420px; margin: 0 0 18px; }
	.uh-mega { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 34px; align-items: start; }
	.uh-col { gap: 16px; }
	.uh-group { margin-bottom: 0; }
	.uh-group--wide { grid-column: span 2; }
	.uh-group--wide .uh-glist { columns: 2; column-gap: 28px; }
	.uh-group--wide .uh-dli { break-inside: avoid; }
	.uh .uh-gtitle { font-size: 19px; }
	.uh-dlink { padding: 5px 8px; font-size: 13.5px; }
	.uh-dsub__list .uh-dlink { font-size: 13px; }

	/* Actions */
	.uh-actions { margin-left: 0; }
	.uh-cta--bar { display: inline-flex; }
	.uh-iconbtn--call, .uh-burger { display: none; }
}

@media (min-width: 1300px) {
	.uh-brand__sub { display: block; }
	.uh-brand__crest { height: 46px; }
}

/* Short laptop screens: keep the mega panel inside the viewport */
@media (min-width: 1100px) and (max-height: 700px) {
	.uh-item--mega .uh-panel__pad { max-height: calc(100vh - 130px); }
}

/* Very small phones */
@media (max-width: 380px) {
	.uh .uh-brand__name { font-size: 25px; }
	.uh-main__in { padding: 0 10px; gap: 8px; }
	.uh-ticker__tag { display: none; }
}

/* ---------- Respect reduced-motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
	.uh *, .uh *::before, .uh *::after {
		animation: none !important;
		transition-duration: .01ms !important;
		transition-delay: 0s !important;
	}
	.uh-ticker__vp { overflow-x: auto; scrollbar-width: none; }
	.uh-ticker__vp::-webkit-scrollbar { display: none; }
	.uh-ticker__pause { display: none; }
}