:root {
	--njnhux-navy: #123b4a;
	--njnhux-teal: #0b666b;
	--njnhux-mint: #e8f4f1;
	--njnhux-border: #c9deda;
	--njnhux-text: #17313b;
	--njnhux-gold: #efc76b;
}

.njnhux-slider {
	position: relative;
	overflow: hidden;
	max-width: 1180px;
	margin: 4rem auto 1.5rem;
	padding: clamp(1.1rem, 2.8vw, 2rem);
	border: 1px solid rgba(191, 223, 216, .24);
	border-radius: 32px 32px 32px 8px;
	background:
		radial-gradient(circle at 88% 18%, rgba(96, 202, 180, .22), transparent 32%),
		linear-gradient(128deg, #0b3441, #13515a 72%, #0d3c49);
	box-shadow: 0 28px 80px rgba(9, 42, 53, .2);
	color: #fff;
}

.njnhux-slider::before {
	content: "";
	position: absolute;
	inset: auto -5rem -9rem auto;
	width: 22rem;
	height: 22rem;
	border: 1px solid rgba(255, 255, 255, .08);
	border-radius: 50%;
	box-shadow: 0 0 0 3rem rgba(255, 255, 255, .025), 0 0 0 6rem rgba(255, 255, 255, .018);
	pointer-events: none;
}

.njnhux-slider .screen-reader-text {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	clip-path: inset(50%) !important;
	border: 0 !important;
	white-space: nowrap !important;
}

.njnhux-slider__topline {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid rgba(214, 238, 233, .18);
}

.njnhux-slider__topline .njnhux-eyebrow { color: #a9e1d6; }
.njnhux-slider__count { margin: 0; color: #d6eae6; font-family: Georgia, serif; font-size: 1rem; font-variant-numeric: tabular-nums; }
.njnhux-slider__count [data-njnhux-current] { color: var(--njnhux-gold); font-size: 1.35rem; }
.njnhux-slider__viewport { position: relative; z-index: 1; min-height: 370px; touch-action: pan-y; }
.njnhux-slide[hidden] { display: none !important; }

.njnhux-slide {
	min-height: 370px;
	display: grid;
	grid-template-columns: minmax(100px, .32fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(1.25rem, 4vw, 4rem);
	padding: clamp(1.4rem, 4vw, 3.75rem) clamp(.2rem, 2vw, 1.5rem);
}

.njnhux-slide.is-active { animation: njnhux-slide-in .42s ease-out both; }
.njnhux-slide__number { align-self: stretch; display: grid; place-items: center; border-right: 1px solid rgba(214, 238, 233, .18); color: rgba(222, 241, 237, .2); font-family: Georgia, serif; font-size: clamp(5rem, 12vw, 10rem); font-variant-numeric: tabular-nums; line-height: 1; }
.njnhux-slide__content { max-width: 780px; }
.njnhux-slide__eyebrow { margin: 0 0 .75rem; color: var(--njnhux-gold); font-size: .75rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.njnhux-slide h2 { margin: 0; color: #fff; font-family: Georgia, serif; font-size: clamp(2.25rem, 5vw, 4.7rem); font-weight: 500; line-height: 1.01; letter-spacing: -.045em; text-wrap: balance; }
.njnhux-slide__content > p:not(.njnhux-slide__eyebrow) { max-width: 680px; margin: 1.1rem 0 1.4rem; color: #d8eae6; font-size: clamp(.98rem, 1.4vw, 1.1rem); line-height: 1.7; }
.njnhux-slide__link { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: .72rem 1.05rem; border-radius: 999px; background: #f5d689; color: #17313b; font-weight: 850; text-decoration: none; box-shadow: 0 9px 26px rgba(4, 26, 33, .18); }
.njnhux-slide__link:hover, .njnhux-slide__link:focus-visible { background: #fff1c7; color: #0b3441; }

.njnhux-slider__controls {
	position: relative;
	z-index: 2;
	display: none;
	align-items: center;
	justify-content: flex-end;
	gap: .45rem;
	padding-top: 1rem;
	border-top: 1px solid rgba(214, 238, 233, .18);
}

.njnhux-slider[data-ready="true"] .njnhux-slider__controls { display: flex; }
.njnhux-slider__arrow, .njnhux-slider__toggle, .njnhux-slider__dots button { min-width: 46px; min-height: 46px; display: inline-flex; align-items: center; justify-content: center; margin: 0; border: 1px solid rgba(226, 243, 239, .25); border-radius: 999px; background: rgba(255, 255, 255, .07); color: #fff; cursor: pointer; font: inherit; }
.njnhux-slider__arrow { font-size: 1.2rem; }
.njnhux-slider__toggle { gap: .45rem; width: auto; padding-inline: .85rem; font-size: .78rem; font-weight: 800; }
.njnhux-slider__dots { display: flex; align-items: center; gap: .15rem; }
.njnhux-slider__dots button { min-width: 42px; min-height: 46px; border-color: transparent; background: transparent; }
.njnhux-slider__dots button span { width: 17px; height: 5px; border-radius: 999px; background: rgba(220, 239, 235, .34); transition: width .2s ease, background .2s ease; }
.njnhux-slider__dots button[aria-current="true"] span { width: 30px; background: var(--njnhux-gold); }
.njnhux-slider :is(button, a):focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.njnhux-slider__arrow:hover, .njnhux-slider__toggle:hover { border-color: rgba(226, 243, 239, .65); background: rgba(255, 255, 255, .14); }

.njnhux-discovery {
	position: relative;
	overflow: hidden;
	max-width: 1180px;
	margin: 4rem auto;
	padding: clamp(1.25rem, 3vw, 2.25rem);
	border: 1px solid var(--njnhux-border);
	border-radius: 30px 30px 30px 8px;
	background: linear-gradient(145deg, #fbfdfc, var(--njnhux-mint));
	box-shadow: 0 24px 70px rgba(18, 59, 74, .09);
	color: var(--njnhux-text);
	animation: njnhux-enter .3s ease-out both;
}

.njnhux-discovery::after {
	content: "";
	position: absolute;
	top: -140px;
	right: -110px;
	width: 280px;
	height: 280px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(70, 160, 145, .2), transparent 70%);
	pointer-events: none;
}

.njnhux-discovery__head {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 2rem;
	margin-bottom: 1.4rem;
}

.njnhux-discovery__head > div { max-width: 740px; }
.njnhux-eyebrow { margin: 0; color: var(--njnhux-teal); font-size: .76rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.njnhux-discovery h2 { margin: .65rem 0 .55rem; color: var(--njnhux-navy); font-family: Georgia, serif; font-size: clamp(2rem, 3.4vw, 3.35rem); font-weight: 500; line-height: 1.06; letter-spacing: -.035em; text-wrap: balance; }
.njnhux-discovery__head p:not(.njnhux-eyebrow) { margin: 0; color: #5b737a; line-height: 1.65; }
.njnhux-button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; padding: .72rem 1rem; border: 1px solid var(--njnhux-teal); border-radius: 999px; color: var(--njnhux-teal); font-weight: 800; text-decoration: none; }
.njnhux-button:hover, .njnhux-button:focus-visible { background: var(--njnhux-teal); color: #fff; }

.njnhux-service-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .7rem; margin: 0; padding: 0; list-style: none; }
.njnhux-service-grid li { margin: 0; padding: 0; }
.njnhux-service-grid a { min-height: 82px; display: grid; grid-template-columns: 28px minmax(0, 1fr) 18px; gap: .6rem; align-items: center; padding: .9rem; border: 1px solid #d0e1dd; border-radius: 14px 14px 14px 5px; background: rgba(255, 255, 255, .95); color: #204a53; text-decoration: none; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.njnhux-service-grid a span:first-child { color: #799b95; font-family: Georgia, serif; font-size: .82rem; }
.njnhux-service-grid a strong { font-size: .82rem; line-height: 1.35; }

.njnhux-topic-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.njnhux-topic-groups section { padding: 1.2rem; border: 1px solid var(--njnhux-border); border-radius: 16px; background: #fff; }
.njnhux-topic-groups h2 { color: var(--njnhux-navy); font-size: 1.25rem; }
.njnhux-topic-groups ul { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.njnhux-topic-groups li { padding: .42rem .68rem; border: 1px solid #cfe0dc; border-radius: 999px; background: #f6faf9; color: #24545b; font-size: .78rem; }
.njnhux-hashtags { padding: 1rem; border-radius: 12px; background: var(--njnhux-navy); color: #d9ece8; line-height: 1.7; overflow-wrap: anywhere; }
.njnhux-mobile-dock { display: none; }

@media (hover: hover) and (pointer: fine) {
	.njnhux-service-grid a:hover, .njnhux-service-grid a:focus-visible { transform: translateY(-3px); border-color: #83b8ae; box-shadow: 0 12px 28px rgba(18, 59, 74, .11); }
}

@media (max-width: 1024px) {
	.njnhux-slider { margin-inline: 1.25rem; }
	.njnhux-discovery { margin-inline: 1.25rem; }
	.njnhux-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 782px) {
	.njnhux-slider { margin: 3rem 1rem 1rem; padding: 1rem; border-radius: 24px 24px 24px 6px; }
	.njnhux-slider__viewport, .njnhux-slide { min-height: 410px; }
	.njnhux-slide { grid-template-columns: 1fr; align-content: center; gap: .8rem; padding: 1.5rem .25rem; }
	.njnhux-slide__number { display: block; border: 0; color: rgba(222, 241, 237, .2); font-size: 3rem; }
	.njnhux-slide h2 { font-size: clamp(2rem, 11vw, 3.35rem); }
	.njnhux-slider__controls { justify-content: center; flex-wrap: wrap; }
	.njnhux-slider__dots { order: -1; width: 100%; justify-content: center; }
	body.njnhux-active { padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
	.njnhux-discovery { margin: 3rem 1rem; border-radius: 22px 22px 22px 6px; }
	.njnhux-discovery__head { display: block; }
	.njnhux-button { width: 100%; margin-top: 1rem; }
	.njnhux-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.njnhux-service-grid a { min-height: 76px; padding: .72rem; }
	.njnhux-topic-groups { grid-template-columns: 1fr; }
	.njnhux-mobile-dock { position: fixed; right: .6rem; bottom: calc(.55rem + env(safe-area-inset-bottom)); left: .6rem; z-index: 9997; min-height: 58px; display: grid; grid-template-columns: repeat(4, 1fr); gap: .2rem; padding: .35rem; border: 1px solid rgba(255, 255, 255, .2); border-radius: 18px; background: rgba(10, 45, 57, .96); box-shadow: 0 18px 45px rgba(5, 29, 35, .28); backdrop-filter: blur(12px); transition: transform .2s ease, opacity .2s ease; }
	.njnhux-mobile-dock a { min-height: 48px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .1rem; border-radius: 12px; color: #d9e9e7; font-size: .7rem; text-decoration: none; }
	.njnhux-mobile-dock a span { color: #8ed0c5; font-size: .55rem; }
	body:has(input:focus, textarea:focus, select:focus, [role="combobox"]:focus) .njnhux-mobile-dock { opacity: 0; transform: translateY(120%); pointer-events: none; }
}

@media (max-width: 430px) {
	.njnhux-service-grid { grid-template-columns: 1fr; }
}

@keyframes njnhux-enter { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@keyframes njnhux-slide-in { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: translateX(0); } }

@media (prefers-reduced-motion: reduce) {
	.njnhux-slider, .njnhux-slider *, .njnhux-discovery, .njnhux-discovery *, .njnhux-mobile-dock { animation: none !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
