/* Nova Site Header */
.nsh {
	--nsh-h: 76px;
	--nsh-bg: rgba(255, 255, 255, .82);
	--nsh-ink: #111214;
	--nsh-accent: #FF5A1F;
	--nsh-ease: cubic-bezier(.22, 1, .36, 1);
	position: fixed;
	z-index: 1000;
	top: 0;
	left: 0;
	right: 0;
	height: var(--nsh-h);
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 24px;
	padding: 0 clamp(20px, 3.4vw, 56px);
	color: var(--nsh-ink);
	background: transparent;
	border-bottom: 1px solid transparent;
	transition: background-color .5s var(--nsh-ease), border-color .5s var(--nsh-ease), transform .6s var(--nsh-ease), backdrop-filter .5s;
}
.nsh.is-scrolled { background: var(--nsh-bg); border-bottom-color: rgba(17, 18, 20, .08); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); }
.nsh.is-hidden { transform: translateY(-100%); }
.nsh.is-static { position: relative; }
body.admin-bar .nsh:not(.is-static) { top: 32px; }
@media (max-width: 782px) { body.admin-bar .nsh:not(.is-static) { top: 46px; } }

.nsh__skip { position: absolute; left: 16px; top: -60px; padding: 10px 16px; border-radius: 8px; background: var(--nsh-ink); color: #fff; font-size: 14px; text-decoration: none; z-index: 2; }
.nsh__skip:focus { top: 12px; }

.nsh__logo { display: inline-flex; align-items: center; gap: 10px; justify-self: start; color: var(--nsh-ink); text-decoration: none; font-size: 17px; letter-spacing: .24em; line-height: 1; }
.nsh__logo strong { font-weight: 700; }
.nsh__logo span:last-child { font-weight: 300; }
.nsh__mark { position: relative; width: 22px; height: 22px; border-radius: 6px; background: var(--nsh-ink); overflow: hidden; }
.nsh__mark::after { content: ""; position: absolute; left: 5px; right: 5px; bottom: 5px; height: 3px; border-radius: 2px; background: var(--nsh-accent); transition: transform .5s var(--nsh-ease); }
.nsh__logo:hover .nsh__mark::after { transform: translateY(-9px); }
.nsh__logo-img { max-height: calc(var(--nsh-h) - 36px); width: auto; }

.nsh__nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 40px); }
.nsh__link { position: relative; display: inline-block; overflow: hidden; height: 1.3em; color: var(--nsh-ink); text-decoration: none; font-size: 14px; font-weight: 500; letter-spacing: .02em; line-height: 1.3; }
.nsh__link span { position: relative; display: inline-block; transition: transform .55s var(--nsh-ease); }
.nsh__link span::after { content: attr(data-text); position: absolute; left: 0; top: 100%; color: var(--nsh-accent); }
.nsh__link:hover span, .nsh__link:focus-visible span { transform: translateY(-100%); }
.nsh__link.is-current span { color: var(--nsh-accent); }

.nsh__end { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.nsh__toggle,
.nd-site .nsh__toggle { display: none; position: relative; width: 46px; height: 46px; padding: 0; border-radius: 50%; border: 1px solid rgba(17, 18, 20, .15); background: rgba(255, 255, 255, .7); cursor: pointer; }
.nsh__toggle i { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--nsh-ink); transition: transform .5s var(--nsh-ease), top .5s var(--nsh-ease); }
.nsh__toggle i:first-child { top: 18px; }
.nsh__toggle i:last-child { top: 26px; }
.nsh__toggle[aria-expanded="true"] i:first-child { top: 22px; transform: rotate(45deg); }
.nsh__toggle[aria-expanded="true"] i:last-child { top: 22px; transform: rotate(-45deg); }

.nsh-drawer {
	position: fixed;
	z-index: 999;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: calc(var(--nd-header-h, 76px) + 32px) 24px 32px;
	background: #fff;
	clip-path: inset(0 0 100% 0);
	transition: clip-path .8s cubic-bezier(.65, 0, .35, 1);
}
.nsh-drawer[hidden] { display: flex; visibility: hidden; }
.nsh-drawer.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
.nsh-drawer__nav { display: flex; flex-direction: column; }
.nsh-drawer__link { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid #E9E9E6; color: #111214; text-decoration: none; font-size: clamp(32px, 9vw, 52px); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; opacity: 0; transform: translateY(24px); transition: opacity .6s cubic-bezier(.22, 1, .36, 1), transform .8s cubic-bezier(.22, 1, .36, 1), color .3s; transition-delay: calc(.15s + var(--i) * 60ms); }
.nsh-drawer__link em { font-style: normal; font-size: 12px; font-weight: 600; letter-spacing: .1em; color: #FF5A1F; }
.nsh-drawer__link:hover { color: #FF5A1F; }
.nsh-drawer.is-open .nsh-drawer__link { opacity: 1; transform: none; }
.nsh-drawer__foot { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.nsh-drawer__foot p { margin: 0; font-size: 14px; color: #8A8D94; }
body.nsh-locked { overflow: hidden; }

@media (max-width: 1024px) {
	.nsh { --nsh-h: 68px; grid-template-columns: 1fr auto; }
	.nsh__nav { display: none; }
	.nsh__toggle,
	.nd-site .nsh__toggle { display: inline-block; }
}
@media (max-width: 767px) {
	.nsh { --nsh-h: 64px; }
	.nsh__cta { display: none; }
	.nsh__logo { font-size: 15px; letter-spacing: .2em; }
}
@media (min-width: 1025px) {
	.nsh-drawer { display: none !important; }
}

/* Mega menu (Products / Applications) */
.nsh.is-mega { background: #fff; border-bottom-color: rgba(17, 18, 20, .08); }
.nsh__nav { align-self: stretch; }
.nsh__item { display: flex; align-items: center; gap: 6px; height: 100%; }
.nsh__chev { width: 10px; height: 10px; opacity: .5; transition: transform .45s var(--nsh-ease), opacity .3s, color .3s; }
.nsh__item.is-open .nsh__chev { transform: rotate(180deg); opacity: 1; color: var(--nsh-accent); }
.nsh__item.is-open > .nsh__link span { transform: translateY(-100%); }
.nsh-mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid rgba(17, 18, 20, .08); box-shadow: 0 40px 80px -40px rgba(17, 18, 20, .3); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .3s var(--nsh-ease), transform .45s var(--nsh-ease), visibility 0s linear .45s; }
.nsh__item.is-open .nsh-mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nsh-mega__inner { box-sizing: border-box; max-width: 1240px; max-height: calc(100vh - var(--nsh-h) - 24px); overflow: auto; margin: 0 auto; padding: 32px clamp(20px, 3.4vw, 56px) 40px; display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 44px; }
.nsh-mega ul { list-style: none; margin: 0; padding: 0; }
.nsh-mega li { margin: 0; padding: 0; }
.nsh-mega__tabs { display: flex; flex-direction: column; gap: 2px; padding-right: 24px; border-right: 1px solid #EDEDEA; }
.nsh-mega__tab { display: grid; grid-template-columns: 26px minmax(0, 1fr); align-items: baseline; gap: 2px 8px; padding: 13px 14px; border-radius: 10px; color: var(--nsh-ink); text-decoration: none; font-size: 15px; font-weight: 500; line-height: 1.3; transition: background-color .25s, color .25s; }
.nsh-mega__tab em { font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: .1em; color: #8A8D94; }
.nsh-mega__tab small { grid-column: 2; font-size: 12px; color: #8A8D94; }
.nsh-mega__tab.is-active { background: #F4F4F2; }
.nsh-mega__tab.is-active em,
.nsh-mega__tab.is-active span { color: var(--nsh-accent); }
.nsh-mega__pane { display: none; grid-template-columns: minmax(200px, 300px) minmax(0, 1fr); gap: 36px; align-items: start; }
.nsh-mega__pane.is-active { display: grid; animation: nsh-mega-in .45s var(--nsh-ease); }
@keyframes nsh-mega-in { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: none; } }
.nsh-mega__media { display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: #f0f0f0; }
.nsh-mega__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--nsh-ease); }
.nsh-mega__pane:hover .nsh-mega__media img { transform: scale(1.04); }
.nsh-mega__eyebrow { margin: 0 0 6px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #8A8D94; }
.nsh-mega__title { margin: 0 0 8px; font-size: 24px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; color: var(--nsh-ink); }
.nsh-mega__desc { margin: 0 0 16px; max-width: 62ch; font-size: 14px; line-height: 1.55; color: #5A5D63; }
.nsh-mega__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
.nsh-mega__links a { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; border-bottom: 1px solid #EDEDEA; color: var(--nsh-ink); text-decoration: none; }
.nsh-mega__links strong { font-size: 14px; font-weight: 600; transition: color .25s; }
.nsh-mega__links span { font-size: 12px; color: #8A8D94; }
.nsh-mega__links a:hover strong,
.nsh-mega__links a:focus-visible strong { color: var(--nsh-accent); }
.nsh-mega__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--nsh-accent); font-size: 14px; font-weight: 600; text-decoration: none; }
.nsh-mega__more b { transition: transform .4s var(--nsh-ease); }
.nsh-mega__more:hover b { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) {
	.nsh-mega, .nsh-mega__media img { transition: none; }
	.nsh-mega__pane.is-active { animation: none; }
}
@media (max-width: 1024px) { .nsh-mega, .nsh__chev { display: none; } }
/* PCIe generation labels in the mega menu */
.nsh-mega__tab small { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.nsh-mega__chip { display: inline-block; padding: 2px 7px; border-radius: 999px; font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: .04em; line-height: 1.3; color: #fff; }
.nsh-mega__tab small .nsh-mega__chip:first-of-type { margin-left: 4px; }
.nsh-mega__chip--g6 { background: var(--nsh-accent); }
.nsh-mega__chip--g5 { background: var(--nsh-ink); }
.nsh-mega__gen + .nsh-mega__gen { margin-top: 18px; }
.nsh-mega__gen-label { display: flex; align-items: center; gap: 10px; margin: 0 0 2px; }
.nsh-mega__gen-label b { display: inline-flex; padding: 4px 11px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .06em; line-height: 1.3; color: #fff; background: #8A8D94; }
.nsh-mega__gen--g6 .nsh-mega__gen-label b { background: var(--nsh-accent); }
.nsh-mega__gen--g5 .nsh-mega__gen-label b { background: var(--nsh-ink); }
.nsh-mega__gen-label span { font-size: 12px; color: #8A8D94; }
.nsh-mega__gen--g6 .nsh-mega__links a { border-bottom-color: rgba(255, 90, 31, .22); }