/* ==========================================================================
   NovaForge — layout & sections
   ========================================================================== */

/* ---------- Announcement bar ---------- */

.nf-announce {
	position: relative;
	z-index: 60;
	background: linear-gradient(90deg, rgba(34, 225, 255, 0.14), rgba(108, 92, 255, 0.16), rgba(34, 225, 255, 0.14));
	border-bottom: 1px solid rgba(34, 225, 255, 0.18);
	font-size: var(--nf-fs-xs);
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.nf-announce__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	min-height: 40px;
	padding-block: 0.4rem;
}

.nf-announce__text {
	margin: 0;
	color: #d9f7ff;
	font-family: var(--nf-font-mono);
}

.nf-announce__link {
	color: var(--nf-accent);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.nf-announce__close {
	position: absolute;
	right: max(12px, calc((100vw - var(--nf-container)) / 2 + 12px));
	top: 50%;
	transform: translateY(-50%);
	width: 26px;
	height: 26px;
	display: grid;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 50%;
	background: transparent;
	color: var(--nf-text-2);
	cursor: pointer;
	font-size: 1rem;
	line-height: 1;
}

.nf-announce__close:hover {
	border-color: var(--nf-accent);
	color: #fff;
}

.nf-announce.is-hidden {
	display: none;
}

/* ---------- Header ---------- */

.nf-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(5, 7, 10, 0.72);
	border-bottom: 1px solid transparent;
	backdrop-filter: blur(18px) saturate(140%);
	-webkit-backdrop-filter: blur(18px) saturate(140%);
	transition: background var(--nf-mid) ease, border-color var(--nf-mid) ease, box-shadow var(--nf-mid) ease;
}

.nf-header.is-stuck {
	background: rgba(5, 7, 10, 0.92);
	border-bottom-color: var(--nf-line);
	box-shadow: 0 18px 40px -32px #000;
}

.nf-header__inner {
	display: flex;
	align-items: center;
	gap: clamp(16px, 3vw, 40px);
	min-height: 76px;
}

.nf-header__brand {
	flex: 0 0 auto;
}

.nf-brand {
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
	color: var(--nf-text);
}

.nf-brand:hover {
	color: var(--nf-text);
}

.nf-brand__mark {
	position: relative;
	width: 30px;
	height: 30px;
	flex: 0 0 30px;
	border: 1px solid var(--nf-accent);
	border-radius: 8px;
	background: linear-gradient(145deg, rgba(34, 225, 255, 0.28), rgba(108, 92, 255, 0.18));
	box-shadow: 0 0 18px -4px var(--nf-accent-glow), inset 0 0 12px -4px rgba(255, 255, 255, 0.5);
}

.nf-brand__mark::after {
	content: "";
	position: absolute;
	inset: 7px;
	border-radius: 3px;
	border: 1px solid rgba(255, 255, 255, 0.65);
	border-right-color: transparent;
	border-bottom-color: transparent;
	transform: rotate(45deg);
}

.nf-brand__text {
	display: flex;
	flex-direction: column;
	line-height: 1.05;
	font-family: var(--nf-font-display);
	font-size: 1.32rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.nf-brand__text em {
	font-family: var(--nf-font-mono);
	font-size: 0.58rem;
	font-style: normal;
	letter-spacing: 0.22em;
	color: var(--nf-text-3);
}

.custom-logo {
	max-height: 44px;
	width: auto;
}

.nf-nav {
	flex: 1 1 auto;
}

.nf-nav__list,
.nf-drawer__list,
.nf-footer__list,
.nf-lang__list {
	display: flex;
	align-items: center;
	gap: clamp(12px, 2vw, 28px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.nf-nav__list li {
	position: relative;
}

.nf-nav__list a {
	display: inline-block;
	padding-block: 0.4rem;
	color: var(--nf-text-2);
	font-size: 0.86rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.nf-nav__list a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 0;
	height: 1px;
	background: var(--nf-accent);
	box-shadow: 0 0 10px var(--nf-accent);
	transition: width var(--nf-mid) var(--nf-ease);
}

.nf-nav__list a:hover {
	color: #fff;
}

.nf-nav__list a:hover::after {
	width: 100%;
}

.nf-nav__list .sub-menu {
	position: absolute;
	top: 100%;
	left: -14px;
	min-width: 210px;
	padding: 0.6rem;
	margin: 0;
	list-style: none;
	background: var(--nf-glass-strong);
	border: 1px solid var(--nf-line);
	border-radius: var(--nf-radius-sm);
	box-shadow: var(--nf-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity var(--nf-fast) ease, transform var(--nf-fast) ease, visibility var(--nf-fast);
	backdrop-filter: blur(16px);
}

.nf-nav__list li:hover > .sub-menu,
.nf-nav__list li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.nf-nav__list .sub-menu a {
	display: block;
	padding: 0.5rem 0.7rem;
	border-radius: 6px;
	font-size: 0.82rem;
	letter-spacing: 0.04em;
	text-transform: none;
}

.nf-nav__list .sub-menu a:hover {
	background: rgba(34, 225, 255, 0.08);
}

.nf-header__tools {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	margin-left: auto;
}

.nf-icon-btn,
.nf-burger,
.nf-cart {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	width: 42px;
	height: 42px;
	border: 1px solid var(--nf-line);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.02);
	color: var(--nf-text-2);
	cursor: pointer;
	transition: border-color var(--nf-fast) ease, color var(--nf-fast) ease, background var(--nf-fast) ease, box-shadow var(--nf-fast) ease;
}

.nf-icon-btn:hover,
.nf-burger:hover,
.nf-cart:hover {
	border-color: rgba(34, 225, 255, 0.5);
	color: #fff;
	box-shadow: 0 0 18px -6px var(--nf-accent-glow);
}

.nf-icon-btn__glyph,
.nf-cart__glyph {
	position: relative;
	display: block;
	width: 16px;
	height: 16px;
}

.nf-icon-btn__glyph::before {
	content: "";
	position: absolute;
	inset: 0;
	border: 1.6px solid currentColor;
	border-radius: 50%;
}

.nf-icon-btn__glyph::after {
	content: "";
	position: absolute;
	right: -2px;
	bottom: -2px;
	width: 7px;
	height: 1.6px;
	background: currentColor;
	transform: rotate(45deg);
	transform-origin: right center;
}

.nf-cart {
	position: relative;
}

.nf-cart__glyph::before {
	content: "";
	position: absolute;
	left: 1px;
	bottom: 0;
	width: 14px;
	height: 10px;
	border: 1.6px solid currentColor;
	border-radius: 2px 2px 4px 4px;
}

.nf-cart__glyph::after {
	content: "";
	position: absolute;
	left: 4px;
	top: -2px;
	width: 8px;
	height: 7px;
	border: 1.6px solid currentColor;
	border-bottom: 0;
	border-radius: 6px 6px 0 0;
}

.nf-cart__count {
	position: absolute;
	top: -4px;
	right: -4px;
	min-width: 19px;
	height: 19px;
	padding-inline: 4px;
	display: grid;
	place-items: center;
	border-radius: var(--nf-radius-pill);
	background: var(--nf-accent);
	color: var(--nf-ink);
	font-family: var(--nf-font-mono);
	font-size: 0.62rem;
	font-weight: 700;
	line-height: 1;
	box-shadow: 0 0 12px -2px var(--nf-accent-glow);
}

.nf-burger {
	display: none;
}

.nf-burger__bar {
	display: block;
	width: 16px;
	height: 1.6px;
	background: currentColor;
	margin-block: 3px;
	transition: transform var(--nf-fast) ease, opacity var(--nf-fast) ease;
}

.nf-burger[aria-expanded="true"] .nf-burger__bar:first-child {
	transform: translateY(4.6px) rotate(45deg);
}

.nf-burger[aria-expanded="true"] .nf-burger__bar:last-of-type {
	transform: translateY(-4.6px) rotate(-45deg);
}

/* Language switcher */

.nf-lang__list {
	gap: 2px;
	padding: 3px;
	border: 1px solid var(--nf-line);
	border-radius: var(--nf-radius-pill);
	background: rgba(255, 255, 255, 0.02);
}

.nf-lang__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	padding: 0.28rem 0.55rem;
	border-radius: var(--nf-radius-pill);
	color: var(--nf-text-3);
	font-family: var(--nf-font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.06em;
}

.nf-lang__link:hover {
	color: #fff;
}

.nf-lang__link.is-active {
	background: rgba(34, 225, 255, 0.14);
	color: #d7f9ff;
	box-shadow: inset 0 0 0 1px rgba(34, 225, 255, 0.28);
}

/* Search panel */

.nf-search-panel {
	border-top: 1px solid var(--nf-line);
	background: rgba(5, 7, 10, 0.96);
	padding-block: 1rem;
	animation: nf-slide-down var(--nf-mid) var(--nf-ease);
}

@keyframes nf-slide-down {
	from {
		opacity: 0;
		transform: translateY(-8px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

.nf-search-form {
	display: flex;
	gap: 0.6rem;
	max-width: 720px;
	margin-inline: auto;
}

.nf-search-form input[type="search"] {
	flex: 1 1 auto;
}

/* Drawer */

.nf-drawer {
	position: fixed;
	inset: 0 0 0 auto;
	width: min(360px, 88vw);
	z-index: 80;
	display: flex;
	flex-direction: column;
	gap: 1.2rem;
	padding: 1.6rem;
	background: rgba(5, 7, 10, 0.98);
	border-left: 1px solid var(--nf-line);
	box-shadow: -30px 0 60px -40px #000;
	transform: translateX(100%);
	transition: transform var(--nf-mid) var(--nf-ease);
	overflow-y: auto;
}

.nf-drawer.is-open {
	transform: none;
}

.nf-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.nf-drawer__close {
	width: 36px;
	height: 36px;
	border: 1px solid var(--nf-line);
	border-radius: 50%;
	background: transparent;
	color: var(--nf-text-2);
	font-size: 1.2rem;
	cursor: pointer;
}

.nf-drawer__list {
	flex-direction: column;
	align-items: stretch;
	gap: 0.2rem;
}

.nf-drawer__list a {
	display: block;
	padding: 0.85rem 0.2rem;
	border-bottom: 1px solid var(--nf-line);
	font-size: 0.95rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--nf-text-2);
}

.nf-drawer__foot {
	margin-top: auto;
	display: grid;
	gap: 0.8rem;
	justify-items: start;
}

.nf-drawer-backdrop {
	position: fixed;
	inset: 0;
	z-index: 70;
	background: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(2px);
	opacity: 0;
	pointer-events: none;
	transition: opacity var(--nf-mid) ease;
}

.nf-drawer-backdrop.is-open {
	opacity: 1;
	pointer-events: auto;
}

/* ---------- Main ---------- */

.nf-main {
	position: relative;
	z-index: 1;
	min-height: 50vh;
}

/* ---------- Hero ---------- */

.nf-hero {
	position: relative;
	overflow: hidden;
	padding-block: clamp(48px, 7vw, 96px) clamp(56px, 8vw, 112px);
	isolation: isolate;
}

.nf-hero::before {
	content: "";
	position: absolute;
	inset: -10% -5% auto;
	height: 78%;
	z-index: -2;
	background:
		radial-gradient(48% 60% at 62% 42%, rgba(34, 225, 255, 0.22), transparent 70%),
		radial-gradient(40% 50% at 28% 30%, rgba(108, 92, 255, 0.2), transparent 72%);
	filter: blur(12px);
}

.nf-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 4px);
	opacity: 0.5;
	mix-blend-mode: overlay;
	pointer-events: none;
	mask-image: linear-gradient(180deg, #000, transparent 70%);
	-webkit-mask-image: linear-gradient(180deg, #000, transparent 70%);
}

.nf-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
	gap: clamp(24px, 4vw, 56px);
	align-items: center;
}

.nf-hero__title {
	margin: 0 0 1rem;
	font-size: var(--nf-fs-hero);
	letter-spacing: 0.015em;
	line-height: 0.92;
	text-wrap: balance;
	background: linear-gradient(120deg, #ffffff 0%, #dff9ff 42%, rgba(34, 225, 255, 0.85) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	text-shadow: 0 20px 60px rgba(34, 225, 255, 0.16);
}

.nf-hero__lede {
	max-width: 52ch;
	font-size: 1.05rem;
	color: var(--nf-text-2);
}

.nf-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem;
	margin-top: 1.8rem;
}

.nf-hero__stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px;
	margin-top: clamp(28px, 4vw, 48px);
	border: 1px solid var(--nf-line);
	border-radius: var(--nf-radius);
	overflow: hidden;
	background: var(--nf-line);
}

.nf-hero__stat {
	padding: 1rem 1.1rem;
	background: rgba(10, 14, 19, 0.72);
}

.nf-hero__stat b {
	display: block;
	font-family: var(--nf-font-mono);
	font-size: clamp(1.4rem, 2.6vw, 2rem);
	font-weight: 600;
	color: #fff;
	font-variant-numeric: tabular-nums;
	line-height: 1.1;
}

.nf-hero__stat b span {
	font-size: 0.62em;
	color: var(--nf-accent);
	margin-left: 0.15rem;
}

.nf-hero__stat small {
	display: block;
	margin-top: 0.3rem;
	font-size: var(--nf-fs-xs);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--nf-text-3);
}

.nf-hero__media {
	position: relative;
	border-radius: var(--nf-radius-lg);
	overflow: hidden;
	border: 1px solid var(--nf-line-mid);
	background: radial-gradient(120% 100% at 60% 10%, #16202b 0%, #080b10 70%);
	box-shadow: var(--nf-shadow), inset 0 0 80px -40px rgba(34, 225, 255, 0.5);
	aspect-ratio: 4 / 3.4;
}

.nf-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 45%, rgba(5, 7, 10, 0.85));
	pointer-events: none;
}

.nf-hero__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.nf-hero__tag {
	position: absolute;
	left: 1rem;
	bottom: 1rem;
	right: 1rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.8rem;
	padding: 0.7rem 0.95rem;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: var(--nf-radius-pill);
	background: rgba(5, 7, 10, 0.6);
	backdrop-filter: blur(10px);
	font-family: var(--nf-font-mono);
	font-size: 0.72rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #d9f7ff;
	z-index: 2;
}

.nf-hero__dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--nf-green);
	box-shadow: 0 0 0 4px rgba(43, 224, 139, 0.16);
	animation: nf-pulse 2.6s infinite;
}

@keyframes nf-pulse {
	0%,
	100% {
		box-shadow: 0 0 0 4px rgba(43, 224, 139, 0.16);
	}
	50% {
		box-shadow: 0 0 0 8px rgba(43, 224, 139, 0.04);
	}
}

/* ---------- Models ---------- */

.nf-models__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
	gap: clamp(16px, 2.4vw, 28px);
}

.nf-model {
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.nf-model__media {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: radial-gradient(120% 120% at 50% 20%, #18232e, #070a0e 78%);
	border-bottom: 1px solid var(--nf-line);
}

.nf-model__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--nf-slow) var(--nf-ease);
}

.nf-model:hover .nf-model__media img {
	transform: scale(1.05);
}

.nf-model__flag {
	position: absolute;
	top: 0.8rem;
	left: 0.8rem;
	padding: 0.26rem 0.6rem;
	border-radius: var(--nf-radius-pill);
	background: rgba(5, 7, 10, 0.75);
	border: 1px solid rgba(34, 225, 255, 0.35);
	color: var(--nf-accent);
	font-family: var(--nf-font-mono);
	font-size: 0.64rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	backdrop-filter: blur(6px);
}

.nf-model__body {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	padding: 1.25rem 1.3rem 1.4rem;
	flex: 1 1 auto;
}

.nf-model__name {
	margin: 0;
	font-size: 1.35rem;
	letter-spacing: 0.08em;
}

.nf-model__name a {
	color: var(--nf-text);
}

.nf-model__desc {
	margin: 0;
	font-size: var(--nf-fs-sm);
	color: var(--nf-text-3);
}

.nf-model__specs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.5rem;
	margin: 0;
	padding: 0.85rem 0;
	border-top: 1px solid var(--nf-line);
	border-bottom: 1px solid var(--nf-line);
	list-style: none;
}

.nf-model__specs li {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
	font-family: var(--nf-font-mono);
	font-size: 0.76rem;
	color: var(--nf-text);
}

.nf-model__specs span {
	font-family: var(--nf-font-body);
	font-size: 0.64rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--nf-text-3);
}

.nf-model__foot {
	margin-top: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.8rem;
}

/* ---------- Tech ---------- */

.nf-tech__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1px;
	background: var(--nf-line);
	border: 1px solid var(--nf-line);
	border-radius: var(--nf-radius);
	overflow: hidden;
}

.nf-tech__item {
	position: relative;
	padding: clamp(1.2rem, 2.2vw, 1.8rem);
	background: rgba(10, 14, 19, 0.86);
	transition: background var(--nf-mid) ease;
}

.nf-tech__item:hover {
	background: rgba(22, 29, 38, 0.92);
}

.nf-tech__index {
	font-family: var(--nf-font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.16em;
	color: var(--nf-accent);
}

.nf-tech__value {
	display: block;
	margin: 0.6rem 0 0.15rem;
	font-family: var(--nf-font-mono);
	font-size: clamp(1.5rem, 2.4vw, 2rem);
	font-weight: 600;
	color: #fff;
	font-variant-numeric: tabular-nums;
	line-height: 1.1;
}

.nf-tech__title {
	margin: 0.55rem 0 0.35rem;
	font-size: 0.95rem;
	letter-spacing: 0.1em;
}

.nf-tech__desc {
	margin: 0;
	font-size: var(--nf-fs-sm);
	color: var(--nf-text-3);
}

/* ---------- Workflow ---------- */

.nf-workflow__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: clamp(16px, 2.4vw, 28px);
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: nf-step;
}

.nf-workflow__step {
	position: relative;
	padding: 1.5rem 1.4rem 1.4rem;
	border: 1px solid var(--nf-line);
	border-radius: var(--nf-radius);
	background: linear-gradient(160deg, rgba(22, 29, 38, 0.7), rgba(10, 14, 19, 0.55));
	counter-increment: nf-step;
}

.nf-workflow__step::before {
	content: "0" counter(nf-step);
	display: block;
	margin-bottom: 0.7rem;
	font-family: var(--nf-font-mono);
	font-size: 0.72rem;
	letter-spacing: 0.2em;
	color: var(--nf-accent);
}

.nf-workflow__step::after {
	content: "";
	position: absolute;
	top: 2.1rem;
	right: -14px;
	width: 28px;
	height: 1px;
	background: linear-gradient(90deg, rgba(34, 225, 255, 0.5), transparent);
	display: none;
}

.nf-workflow__title {
	margin: 0 0 0.4rem;
	font-size: 1.05rem;
	letter-spacing: 0.08em;
}

.nf-workflow__desc {
	margin: 0;
	font-size: var(--nf-fs-sm);
	color: var(--nf-text-3);
}

/* ---------- Gallery ---------- */

.nf-gallery__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-rows: 168px;
	gap: 12px;
}

.nf-gallery__item {
	position: relative;
	overflow: hidden;
	border: 1px solid var(--nf-line);
	border-radius: var(--nf-radius-sm);
	background: #0a0e13;
}

.nf-gallery__item:nth-child(1),
.nf-gallery__item:nth-child(6) {
	grid-row: span 2;
	grid-column: span 2;
}

.nf-gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--nf-slow) var(--nf-ease), filter var(--nf-mid) ease;
	filter: saturate(0.9) brightness(0.92);
}

.nf-gallery__item:hover img {
	transform: scale(1.06);
	filter: saturate(1.05) brightness(1);
}

.nf-gallery__ph {
	position: absolute;
	inset: 0;
}

.nf-gallery__ph--1 {
	background:
		radial-gradient(80% 90% at 70% 20%, rgba(34, 225, 255, 0.22), transparent 60%),
		linear-gradient(150deg, #131c26 0%, #0a0f14 68%),
		repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.03) 0 10px, transparent 10px 20px);
}

.nf-gallery__ph--2 {
	background:
		radial-gradient(70% 80% at 30% 80%, rgba(108, 92, 255, 0.28), transparent 62%),
		linear-gradient(200deg, #191326 0%, #0a0d14 70%),
		repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.03) 0 10px, transparent 10px 20px);
}

.nf-gallery__ph--3 {
	background:
		radial-gradient(80% 80% at 50% 100%, rgba(255, 176, 32, 0.14), transparent 60%),
		linear-gradient(120deg, #1d1a12 0%, #0b0d10 72%),
		repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.025) 0 10px, transparent 10px 20px);
}

.nf-gallery__meta {
	position: absolute;
	inset: auto 0 0 0;
	padding: 0.7rem 0.85rem;
	background: linear-gradient(180deg, transparent, rgba(5, 7, 10, 0.92));
	font-family: var(--nf-font-mono);
	font-size: 0.68rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #d6f7ff;
	opacity: 0;
	transform: translateY(6px);
	transition: opacity var(--nf-mid) ease, transform var(--nf-mid) ease;
}

.nf-gallery__item:hover .nf-gallery__meta {
	opacity: 1;
	transform: none;
}

/* ---------- Testimonials ---------- */

.nf-quotes {
	display: flex;
	gap: 1rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding-bottom: 0.6rem;
	scrollbar-width: thin;
	scrollbar-color: rgba(34, 225, 255, 0.4) transparent;
}

.nf-quote {
	flex: 0 0 min(420px, 84vw);
	scroll-snap-align: start;
	padding: 1.5rem;
	border: 1px solid var(--nf-line);
	border-radius: var(--nf-radius);
	background: linear-gradient(160deg, rgba(22, 29, 38, 0.78), rgba(10, 14, 19, 0.6));
}

.nf-quote__text {
	margin: 0 0 1.1rem;
	color: var(--nf-text);
	font-size: 1rem;
	line-height: 1.75;
}

.nf-quote__who {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.nf-quote__avatar {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: linear-gradient(145deg, rgba(34, 225, 255, 0.28), rgba(108, 92, 255, 0.24));
	border: 1px solid rgba(255, 255, 255, 0.14);
	font-family: var(--nf-font-display);
	font-size: 0.9rem;
	color: #fff;
}

.nf-quote__name {
	margin: 0;
	font-size: 0.9rem;
	color: var(--nf-text);
}

.nf-quote__role {
	display: block;
	font-family: var(--nf-font-mono);
	font-size: 0.66rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--nf-text-3);
}

/* ---------- FAQ ---------- */

.nf-faq__list {
	display: grid;
	gap: 0.6rem;
	max-width: 880px;
	margin-inline: auto;
}

.nf-faq__item {
	border: 1px solid var(--nf-line);
	border-radius: var(--nf-radius-sm);
	background: rgba(10, 14, 19, 0.6);
	overflow: hidden;
	transition: border-color var(--nf-fast) ease, background var(--nf-fast) ease;
}

.nf-faq__item[open] {
	border-color: rgba(34, 225, 255, 0.32);
	background: rgba(16, 21, 28, 0.82);
}

.nf-faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 1.15rem;
	cursor: pointer;
	font-size: 0.98rem;
	font-weight: 500;
	color: var(--nf-text);
	list-style: none;
}

.nf-faq__q::-webkit-details-marker {
	display: none;
}

.nf-faq__q::after {
	content: "+";
	flex: 0 0 auto;
	font-family: var(--nf-font-mono);
	font-size: 1.1rem;
	color: var(--nf-accent);
	transition: transform var(--nf-fast) ease;
}

.nf-faq__item[open] .nf-faq__q::after {
	transform: rotate(45deg);
}

.nf-faq__a {
	padding: 0 1.15rem 1.1rem;
	color: var(--nf-text-3);
	font-size: var(--nf-fs-sm);
	line-height: 1.75;
}

.nf-faq__a p:last-child {
	margin-bottom: 0;
}

/* ---------- Newsletter ---------- */

.nf-newsletter {
	position: relative;
	border: 1px solid rgba(34, 225, 255, 0.22);
	border-radius: var(--nf-radius-lg);
	padding: clamp(1.6rem, 4vw, 3rem);
	background:
		radial-gradient(90% 140% at 88% 0%, rgba(34, 225, 255, 0.18), transparent 62%),
		radial-gradient(70% 120% at 6% 100%, rgba(108, 92, 255, 0.2), transparent 60%),
		rgba(10, 14, 19, 0.9);
	overflow: hidden;
}

.nf-newsletter__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
	gap: clamp(20px, 3vw, 40px);
	align-items: center;
}

.nf-newsletter__title {
	margin: 0 0 0.5rem;
	font-size: var(--nf-fs-h2);
}

.nf-newsletter__lede {
	margin: 0;
	color: var(--nf-text-3);
}

.nf-newsletter__form {
	display: flex;
	gap: 0.6rem;
	flex-wrap: wrap;
}

.nf-newsletter__form input[type="email"] {
	flex: 1 1 220px;
}

.nf-newsletter__note {
	margin: 0.7rem 0 0;
	font-size: var(--nf-fs-xs);
	color: var(--nf-text-3);
}

/* ---------- Footer ---------- */

.nf-footer {
	position: relative;
	z-index: 1;
	margin-top: clamp(48px, 7vw, 96px);
	border-top: 1px solid var(--nf-line);
	background: linear-gradient(180deg, rgba(10, 14, 19, 0.9), #04060A 70%);
	padding-block: clamp(40px, 6vw, 72px) 1.6rem;
}

.nf-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 0.8fr)) minmax(0, 1fr);
	gap: clamp(20px, 3vw, 40px);
	padding-bottom: clamp(28px, 4vw, 48px);
	border-bottom: 1px solid var(--nf-line);
}

.nf-footer__note {
	max-width: 34ch;
	margin: 1rem 0 1.1rem;
	font-size: var(--nf-fs-sm);
	color: var(--nf-text-3);
}

.nf-footer__social {
	display: flex;
	gap: 0.9rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nf-footer__social a {
	font-size: var(--nf-fs-xs);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--nf-text-2);
}

.nf-footer__title {
	margin: 0 0 0.9rem;
	font-family: var(--nf-font-mono);
	font-size: 0.68rem;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--nf-text-3);
}

.nf-footer__list {
	flex-direction: column;
	align-items: flex-start;
	gap: 0.5rem;
}

.nf-footer__list a,
.nf-footer__list li {
	font-size: var(--nf-fs-sm);
	color: var(--nf-text-2);
}

.nf-footer__pay {
	display: flex;
	gap: 0.4rem;
	margin: 1rem 0 0;
	padding: 0;
	list-style: none;
	flex-wrap: wrap;
}

.nf-pay {
	display: inline-flex;
	align-items: center;
	padding: 0.28rem 0.55rem;
	border: 1px solid var(--nf-line-mid);
	border-radius: 5px;
	background: rgba(255, 255, 255, 0.03);
	font-family: var(--nf-font-mono);
	font-size: 0.6rem;
	letter-spacing: 0.1em;
	color: var(--nf-text-2);
}

.nf-footer__base {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.8rem;
	padding-top: 1.4rem;
}

.nf-footer__copy,
.nf-footer__meta {
	margin: 0;
	font-size: var(--nf-fs-xs);
	color: var(--nf-text-3);
}

/* ---------- Blog / page / search / 404 ---------- */

.nf-page-hero {
	padding-block: clamp(36px, 5vw, 64px) clamp(18px, 2.5vw, 28px);
	border-bottom: 1px solid var(--nf-line);
}

.nf-page-hero__title {
	margin: 0;
	font-size: var(--nf-fs-h1);
	background: linear-gradient(120deg, #fff, #b9e9f5 70%, rgba(34, 225, 255, 0.8));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

/* The shop header already renders its own title; hide the core duplicate. */
.woocommerce .woocommerce-products-header__title.page-title {
	display: none;
}

.nf-breadcrumbs {
	margin-bottom: 0.9rem;
}

.nf-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.45rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-family: var(--nf-font-mono);
	font-size: 0.68rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--nf-text-3);
}

.nf-breadcrumbs li:not(:last-child)::after {
	content: "/";
	margin-left: 0.45rem;
	color: rgba(255, 255, 255, 0.2);
}

.nf-breadcrumbs a {
	color: var(--nf-text-3);
}

.nf-breadcrumbs a:hover {
	color: var(--nf-accent);
}

.nf-article {
	max-width: 78ch;
	margin-inline: auto;
	padding-block: clamp(32px, 5vw, 64px);
}

.nf-article__meta {
	display: flex;
	gap: 1rem;
	margin-bottom: 1.4rem;
	font-family: var(--nf-font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--nf-text-3);
}

.nf-article__body h2,
.nf-article__body h3 {
	margin-top: 2rem;
}

.nf-article__body img {
	border-radius: var(--nf-radius-sm);
	margin-block: 1.5rem;
}

.nf-content-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: clamp(24px, 4vw, 56px);
	padding-block: clamp(32px, 5vw, 64px);
}

.nf-content-grid--full {
	grid-template-columns: minmax(0, 1fr);
}

.nf-card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: clamp(16px, 2.4vw, 26px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.nf-post-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.nf-post-card__media {
	aspect-ratio: 16 / 10;
	background: #0a0e13;
	border-bottom: 1px solid var(--nf-line);
}

.nf-post-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.nf-post-card__body {
	padding: 1.1rem 1.2rem 1.3rem;
}

.nf-post-card__title {
	margin: 0 0 0.4rem;
	font-size: 1.05rem;
	letter-spacing: 0.04em;
}

.nf-post-card__title a {
	color: var(--nf-text);
}

.nf-post-card__excerpt {
	margin: 0 0 0.8rem;
	font-size: var(--nf-fs-sm);
	color: var(--nf-text-3);
}

.nf-widget {
	margin-bottom: 2rem;
	padding: 1.2rem;
	border: 1px solid var(--nf-line);
	border-radius: var(--nf-radius-sm);
	background: rgba(10, 14, 19, 0.6);
}

.nf-widget-title,
.widget-title {
	margin: 0 0 0.8rem;
	font-family: var(--nf-font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--nf-text-3);
}

.nf-empty {
	max-width: 60ch;
	margin-inline: auto;
	padding-block: clamp(48px, 8vw, 96px);
	text-align: center;
}

.nf-empty__title {
	font-size: var(--nf-fs-h2);
	margin-bottom: 0.6rem;
}

.nf-empty__actions {
	display: flex;
	gap: 0.8rem;
	justify-content: center;
	margin-top: 1.6rem;
	flex-wrap: wrap;
}

/* ---------- Content entry (comments etc.) ---------- */

.comment-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.comment-list .comment-body {
	padding: 1.1rem 1.2rem;
	margin-bottom: 1rem;
	border: 1px solid var(--nf-line);
	border-radius: var(--nf-radius-sm);
	background: rgba(10, 14, 19, 0.55);
}

.comment-form .form-submit input {
	width: auto;
}

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
	.nf-footer__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.nf-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 1023px) {
	.nf-nav {
		display: none;
	}

	.nf-burger {
		display: inline-flex;
	}

	.nf-hero__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.nf-hero__media {
		order: -1;
		aspect-ratio: 16 / 11;
	}

	.nf-gallery__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.nf-gallery__item:nth-child(1),
	.nf-gallery__item:nth-child(6) {
		grid-column: span 2;
	}

	.nf-content-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.nf-newsletter__inner {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 767px) {
	:root {
		--nf-section: clamp(52px, 12vw, 72px);
	}

	.nf-header__inner {
		min-height: 64px;
		gap: 10px;
	}

	.nf-brand__text {
		font-size: 1.1rem;
		letter-spacing: 0.12em;
	}

	.nf-brand__text em {
		display: none;
	}

	.nf-lang--header {
		display: none;
	}

	.nf-hero__stats {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.nf-hero__stat {
		padding: 0.75rem 0.6rem;
	}

	.nf-hero__stat b {
		font-size: 1.15rem;
	}

	.nf-hero__stat small {
		font-size: 0.58rem;
		letter-spacing: 0.08em;
	}

	.nf-hero__actions .nf-btn {
		flex: 1 1 auto;
	}

	.nf-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px;
	}

	.nf-gallery__grid {
		grid-auto-rows: 132px;
	}

	.nf-announce__text {
		font-size: 0.6rem;
		letter-spacing: 0.08em;
		line-height: 1.5;
	}

	.nf-announce__close {
		right: 8px;
	}
}

@media (max-width: 479px) {
	.nf-hero__stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.nf-hero__stat:last-child {
		grid-column: span 2;
	}

	.nf-model__foot {
		flex-direction: column;
		align-items: stretch;
	}

	.nf-footer__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}
