/*
Theme Name: Neon Ledger
Theme URI: https://example.com/neon-ledger
Author: Casino Marketing Services
Description: Block (Full Site Editing) theme for a casino digital marketing agency. Two-tone design: deep navy #1B263B base with a single neon pink #F72585 accent, Unbounded + Manrope typography, duotone illustrations, a neon "player journey" thread running through the homepage. All sections are core Gutenberg blocks; colors, fonts and spacing live in theme.json.
Version: 1.3.1
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: neon-ledger
Tags: full-site-editing, block-patterns, one-column, custom-colors, editor-style, wide-blocks
*/

/* ===================================================================
   1. Tokens
   =================================================================== */
:root {
	--nl-navy: #1B263B;
	--nl-deep: #111A2B;
	--nl-surface: #243350;
	--nl-line: #324463;
	--nl-pink: #F72585;
	--nl-pink-l: #FF6AAE;
	--nl-pink-d: #B5165F;
	--nl-white: #FFFFFF;
	--nl-text: #C7D0E2;
	--nl-muted: #8E9BB5;
	--nl-paper: #F3F5FA;
	--nl-display: "Unbounded", "Arial Black", sans-serif;
	--nl-body: "Manrope", "Segoe UI", Arial, sans-serif;
	--nl-radius: 24px;
	--nl-sec: clamp(4.5rem, 9vw, 7.5rem);
	--nl-grad: linear-gradient(120deg, var(--nl-pink-l) 0%, var(--nl-pink) 50%, var(--nl-pink-d) 100%);
	--nl-shadow: 0 30px 60px -30px rgba(6, 9, 15, 0.85);
	--nl-glow: 0 12px 40px -10px rgba(247, 37, 133, 0.75);
	--nl-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 5.5rem;
}

body {
	background: var(--nl-navy);
	color: var(--nl-text);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
	position: relative;
}

/* Site-wide backdrop: two soft pink glows + a faint ledger grid */
body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -2;
	pointer-events: none;
	background:
		radial-gradient(60vw 44vw at 92% -6%, rgba(247, 37, 133, 0.22), transparent 60%),
		radial-gradient(48vw 40vw at -10% 60%, rgba(247, 37, 133, 0.12), transparent 60%),
		linear-gradient(180deg, #1F2C44 0%, var(--nl-navy) 40%, #16203300 100%);
}

body::after {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
	background-size: 72px 72px;
	-webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
	mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
}

::selection {
	background: var(--nl-pink);
	color: #fff;
}

:where(a, button, summary, .wp-block-button__link):focus-visible {
	outline: 3px solid var(--nl-pink-l);
	outline-offset: 3px;
	border-radius: 8px;
}

body .wp-site-blocks > * {
	margin-block-start: 0;
}

/* ===================================================================
   2. Type
   =================================================================== */
h1, h2 {
	font-family: var(--nl-display);
	color: var(--nl-white);
	text-wrap: balance;
}

h3 {
	color: var(--nl-white);
	text-wrap: balance;
}

p, li, summary {
	text-wrap: pretty;
}

.nl-lead {
	font-size: clamp(1.1rem, 1.45vw, 1.25rem);
	line-height: 1.55;
	color: #E6EBF5;
}

/* Section heading block: pink tick + heading + intro */
.nl-head {
	max-width: 48rem;
	margin-block-end: clamp(2.2rem, 4vw, 3.4rem);
}

.nl-head > h2::before {
	content: "";
	display: block;
	width: 3.2rem;
	height: 0.35rem;
	margin-block-end: 1.1rem;
	border-radius: 99px;
	background: var(--nl-grad);
	box-shadow: 0 0 18px rgba(247, 37, 133, 0.75);
}

.nl-head > p {
	font-size: 1.1rem;
	color: #DDE3F0;
}

/* ===================================================================
   3. Layout primitives
   =================================================================== */
.nl-sec {
	position: relative;
	padding-block: var(--nl-sec);
	margin-block-start: 0;
}

.nl-sec[id] {
	scroll-margin-top: 5.5rem;
}

/* Let the sections run full width inside the page editor as well */
.is-root-container > .nl-sec {
	max-width: none !important;
	margin-inline: 0 !important;
}

.nl-sec figure {
	margin: 0;
}

.nl-sec figure img {
	display: block;
	width: 100%;
	height: auto;
}

/* Buttons */
.wp-block-button__link {
	position: relative;
	font-family: var(--nl-body);
	font-weight: 700;
	background: var(--nl-grad);
	background-size: 160% 100%;
	color: #fff;
	border: 0;
	box-shadow: var(--nl-glow), inset 0 1px 0 rgba(255, 255, 255, 0.35);
	transition: background-position 0.4s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.wp-block-button__link:hover {
	color: #fff;
	background-position: 100% 0;
	transform: translateY(-3px);
	box-shadow: 0 18px 44px -8px rgba(247, 37, 133, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.wp-block-button.is-style-outline > .wp-block-button__link {
	background: rgba(255, 255, 255, 0.04);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.28);
	box-shadow: none;
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: rgba(247, 37, 133, 0.14);
	border-color: var(--nl-pink);
	box-shadow: 0 14px 36px -12px rgba(247, 37, 133, 0.6);
}

.nl-btn--glow > .wp-block-button__link {
	animation: nl-pulse 3.2s ease-in-out infinite;
}

@keyframes nl-pulse {
	0%, 100% { box-shadow: 0 12px 40px -10px rgba(247, 37, 133, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
	50% { box-shadow: 0 12px 52px -4px rgba(247, 37, 133, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
}

.nl-btn--navy > .wp-block-button__link {
	background: var(--nl-deep);
	color: #fff;
	box-shadow: 0 20px 50px -20px rgba(6, 9, 15, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.nl-btn--navy > .wp-block-button__link:hover {
	background: #0B111D;
	color: #fff;
}

/* ===================================================================
   4. Header
   =================================================================== */
header.wp-block-template-part {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 60;
}

.nl-header {
	background: rgba(17, 26, 43, 0.78);
	-webkit-backdrop-filter: blur(18px) saturate(1.3);
	backdrop-filter: blur(18px) saturate(1.3);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow: 0 10px 40px -24px rgba(0, 0, 0, 0.9);
}

/* the open mobile menu must cover the screen: backdrop-filter on the header would trap the fixed overlay inside the bar */
.has-modal-open .nl-header,
.nl-header:has(.is-menu-open) {
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}

.nl-header .nl-header__in {
	padding-block: 0.7rem;
	gap: clamp(1rem, 2.5vw, 2.5rem);
}

.nl-header .nl-header__in > * {
	margin-block: 0;
}

.nl-brand,
.nl-footer__title {
	font-family: var(--nl-display);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1;
}

.nl-brand {
	font-size: 1.05rem;
	white-space: nowrap;
}

.nl-brand a,
.nl-footer__title a {
	color: #fff;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
}

.nl-brand a::before,
.nl-footer__title a::before {
	content: "";
	flex: none;
	width: 2.4rem;
	height: 2.4rem;
	background: url(assets/img/logo.svg) center / contain no-repeat;
	filter: drop-shadow(0 4px 14px rgba(247, 37, 133, 0.7));
	transition: transform 0.6s var(--nl-ease);
}

.nl-brand a:hover::before,
.nl-footer__title a:hover::before {
	transform: rotate(180deg);
}

.nl-nav {
	font-size: 0.95rem;
	font-weight: 600;
}

.nl-nav .wp-block-navigation__container {
	gap: clamp(0.9rem, 1.8vw, 1.8rem);
}

.nl-nav .wp-block-navigation-item__content {
	position: relative;
	color: var(--nl-text);
	text-decoration: none;
	padding-block: 0.3rem;
	transition: color 0.2s ease;
}

.nl-nav .wp-block-navigation-item__content::after {
	content: "";
	position: absolute;
	left: 0;
	right: 100%;
	bottom: 0;
	height: 2px;
	background: var(--nl-pink);
	transition: right 0.3s var(--nl-ease);
}

.nl-nav .wp-block-navigation-item__content:hover,
.nl-nav .current-menu-item > .wp-block-navigation-item__content,
.nl-nav .current-menu-ancestor > .wp-block-navigation-item__content {
	color: #fff;
}

.nl-nav .wp-block-navigation-item__content:hover::after,
.nl-nav .current-menu-item > .wp-block-navigation-item__content::after,
.nl-nav .current-menu-ancestor > .wp-block-navigation-item__content::after {
	right: 0;
}

.nl-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content::after {
	display: none;
}

/* Services dropdown (desktop) */
.nl-header .nl-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container {
	min-width: 17.5rem;
	top: calc(100% + 0.6rem);
	padding: 0.5rem;
	border-radius: 18px;
	border: 1px solid var(--nl-line);
	background: linear-gradient(160deg, #26365A, var(--nl-deep));
	color: var(--nl-text);
	box-shadow: var(--nl-shadow), 0 0 0 1px rgba(247, 37, 133, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.nl-header .nl-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 100%;
	height: 0.8rem;
}

.nl-header .nl-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	padding: 0.7rem 0.9rem 0.7rem 2.1rem;
	border-radius: 12px;
	white-space: nowrap;
	transition: color 0.2s ease, background-color 0.2s ease;
}

.nl-header .nl-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container .wp-block-navigation-item__content::before {
	content: "";
	position: absolute;
	left: 0.85rem;
	top: 50%;
	width: 0.5rem;
	height: 0.5rem;
	margin-top: -0.25rem;
	border-radius: 50%;
	background: var(--nl-grad);
	box-shadow: 0 0 10px rgba(247, 37, 133, 0.9);
}

.nl-header .nl-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
.nl-header .nl-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container .current-menu-item > .wp-block-navigation-item__content {
	color: #fff;
	background: rgba(247, 37, 133, 0.16);
}

.nl-header__cta .wp-block-button__link {
	white-space: nowrap;
	padding: 0.7em 1.2em;
	font-size: 0.92rem;
	border-radius: 12px;
}

.nl-nav .wp-block-navigation__responsive-container-open,
.nl-nav .wp-block-navigation__responsive-container-close {
	color: #fff;
}

/* the full menu with the Services dropdown needs ~1000px: below that the burger menu is used */
@media (max-width: 999px) {
	.nl-nav .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: flex;
	}

	.nl-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
		display: none;
	}
}

.nl-header .wp-block-navigation.nl-nav .wp-block-navigation__responsive-container.is-menu-open {
	background:
		radial-gradient(80vw 60vw at 100% 0%, rgba(247, 37, 133, 0.28), transparent 62%),
		linear-gradient(160deg, #1F2C44, var(--nl-deep));
	color: #fff;
	padding: 1.5rem clamp(1.25rem, 4vw, 3rem);
}

.nl-nav .is-menu-open .wp-block-navigation-item__content {
	color: #fff;
	font-family: var(--nl-display);
	font-size: 1.6rem;
	font-weight: 700;
}

.nl-nav .is-menu-open .wp-block-navigation__container {
	gap: 1rem;
}

/* service pages listed under "Services" in the mobile menu */
.nl-header .nl-nav .is-menu-open .wp-block-navigation__submenu-container {
	gap: 0.5rem;
	padding: 0.8rem 0 0.2rem;
}

.nl-header .nl-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	padding: 0.6rem 1rem;
	border-radius: 12px;
	border: 1px solid var(--nl-line);
	background: rgba(255, 255, 255, 0.05);
	font-family: var(--nl-body);
	font-size: 1.02rem;
	font-weight: 600;
	color: var(--nl-text);
}

.nl-header .nl-nav .is-menu-open .wp-block-navigation__submenu-container .current-menu-item > .wp-block-navigation-item__content {
	color: #fff;
	border-color: rgba(247, 37, 133, 0.7);
	background: rgba(247, 37, 133, 0.16);
}

/* ===================================================================
   5. Hero  - "Ledger"
   =================================================================== */
.nl-hero {
	padding-block-start: clamp(2.5rem, 5vw, 4.5rem);
	padding-block-end: clamp(3rem, 6vw, 5rem);
	overflow: hidden;
}

.nl-hero .nl-hero__grid {
	gap: clamp(2rem, 4vw, 4.5rem);
}

.nl-hero__title {
	font-size: clamp(2.7rem, 6vw, 5.2rem);
	line-height: 0.98;
	letter-spacing: -0.03em;
	margin-block-end: 1.5rem;
	position: relative;
}

/* The neon thread starts under the H1 and leaves the hero at the bottom-right */
.nl-hero__title::after {
	content: "";
	display: block;
	width: 7.5rem;
	height: 0.45rem;
	margin-block-start: 1.1rem;
	border-radius: 99px;
	background: var(--nl-grad);
	box-shadow: 0 0 22px rgba(247, 37, 133, 0.85), 0 0 48px rgba(247, 37, 133, 0.4);
}

.nl-hero__copy > p {
	max-width: 36rem;
}

.nl-hero__actions {
	margin-block-start: 2rem;
	gap: 0.8rem;
}

.nl-hero__art {
	position: relative;
	isolation: isolate;
}

/* Layered "ledger" plate behind the wheel */
.nl-hero__art::before {
	content: "";
	position: absolute;
	inset: 14% -4% 10% 10%;
	z-index: -1;
	border-radius: var(--nl-radius);
	background: linear-gradient(160deg, rgba(36, 51, 80, 0.9), rgba(17, 26, 43, 0.95));
	border: 1px solid rgba(255, 255, 255, 0.08);
	transform: skewY(-6deg);
	box-shadow: var(--nl-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.1);
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
	background-size: 100% 2.4rem;
}

.nl-hero__img img {
	animation: nl-float 8s ease-in-out infinite;
	filter: drop-shadow(0 30px 40px rgba(6, 9, 15, 0.6));
}

@keyframes nl-float {
	0%, 100% { transform: translateY(0) rotate(0deg); }
	50% { transform: translateY(-14px) rotate(0.8deg); }
}

/* ===================================================================
   6. Rules  - three fanned cards
   =================================================================== */
.nl-rules {
	--nl-tilt: -2.5deg;
}

.nl-rules .nl-fan {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.4rem;
	counter-reset: nl-rule;
	padding-block-start: 1rem;
}

.nl-fan > .nl-fan__card {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	counter-increment: nl-rule;
	margin: 0;
	padding: clamp(1.6rem, 2.6vw, 2.4rem);
	padding-block-start: clamp(4.5rem, 7vw, 6rem);
	border-radius: var(--nl-radius);
	background: linear-gradient(170deg, rgba(36, 51, 80, 0.95), rgba(27, 38, 59, 0.98));
	border: 1px solid var(--nl-line);
	box-shadow: var(--nl-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.1);
	transition: transform 0.45s var(--nl-ease), border-color 0.35s ease, box-shadow 0.35s ease;
}

.nl-fan > .nl-fan__card:nth-child(1) { transform: rotate(var(--nl-tilt)) translateY(1.4rem); }
.nl-fan > .nl-fan__card:nth-child(2) { transform: rotate(0deg) translateY(0); }
.nl-fan > .nl-fan__card:nth-child(3) { transform: rotate(calc(var(--nl-tilt) * -1)) translateY(1.4rem); }

.nl-fan > .nl-fan__card:hover {
	transform: rotate(0deg) translateY(-0.6rem);
	border-color: rgba(247, 37, 133, 0.7);
	box-shadow: 0 40px 80px -36px rgba(247, 37, 133, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

/* Big ghost number 01 / 02 / 03 */
.nl-fan__card::before {
	content: "0" counter(nl-rule);
	position: absolute;
	top: 0.6rem;
	left: 1.4rem;
	font-family: var(--nl-display);
	font-weight: 800;
	font-size: clamp(3.6rem, 6vw, 5.4rem);
	line-height: 1;
	letter-spacing: -0.04em;
	color: transparent;
	-webkit-text-stroke: 1.5px rgba(247, 37, 133, 0.75);
	opacity: 0.9;
	z-index: -1;
}

/* Corner glow */
.nl-fan__card::after {
	content: "";
	position: absolute;
	right: -30%;
	top: -30%;
	width: 70%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(247, 37, 133, 0.45), transparent 68%);
	z-index: -1;
	opacity: 0.5;
	transition: opacity 0.35s ease, transform 0.5s ease;
}

.nl-fan__card:hover::after {
	opacity: 1;
	transform: scale(1.15);
}

.nl-fan__card > h3 {
	margin-block: 0 0.7rem;
}

.nl-fan__card > p {
	margin-block: 0;
	font-size: 0.98rem;
}

/* ===================================================================
   7. Player journey  - the neon thread
   =================================================================== */
.nl-journey {
	background:
		url(assets/img/journey-bg.svg) center bottom / cover no-repeat,
		linear-gradient(180deg, var(--nl-deep), #0E1626);
	clip-path: polygon(0 0, 100% 3.5rem, 100% 100%, 0 calc(100% - 3.5rem));
	padding-block: calc(var(--nl-sec) + 3.5rem);
}

.nl-journey .nl-journey__track {
	position: relative;
	gap: clamp(1.5rem, 3vw, 3rem);
	padding-block-start: 3.2rem;
	counter-reset: nl-stage;
}

/* The horizontal thread */
.nl-journey__track::before {
	content: "";
	position: absolute;
	top: 0.95rem;
	left: 2rem;
	right: 2rem;
	height: 4px;
	border-radius: 99px;
	background: linear-gradient(90deg, var(--nl-pink), var(--nl-pink-l), var(--nl-pink));
	background-size: 200% 100%;
	box-shadow: 0 0 20px rgba(247, 37, 133, 0.9), 0 0 48px rgba(247, 37, 133, 0.45);
	opacity: 0.35;
	transform: scaleX(0.2);
	transform-origin: left center;
	transition: transform 1.4s var(--nl-ease), opacity 0.6s ease;
}

.nl-journey__track.is-lit::before {
	opacity: 1;
	transform: scaleX(1);
	animation: nl-shimmer 4s linear infinite;
}

@keyframes nl-shimmer {
	to { background-position: 200% 0; }
}

.nl-journey__track > .nl-journey__stage {
	position: relative;
	counter-increment: nl-stage;
	padding: 1.8rem 1.6rem 1.6rem;
	border-radius: var(--nl-radius);
	background: rgba(36, 51, 80, 0.55);
	border: 1px solid rgba(255, 255, 255, 0.08);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	transition: transform 0.4s var(--nl-ease), border-color 0.3s ease;
}

.nl-journey__track > .nl-journey__stage:hover {
	transform: translateY(-6px);
	border-color: rgba(247, 37, 133, 0.6);
}

/* Node ring sitting on the thread */
.nl-journey__stage::before {
	content: counter(nl-stage);
	position: absolute;
	top: -3.2rem;
	left: 1.6rem;
	width: 2.6rem;
	height: 2.6rem;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--nl-deep);
	border: 3px solid var(--nl-pink);
	color: #fff;
	font-family: var(--nl-display);
	font-weight: 700;
	font-size: 0.95rem;
	box-shadow: 0 0 0 6px var(--nl-deep), 0 0 24px rgba(247, 37, 133, 0.9);
}

.nl-journey__stage > h3 {
	margin-block: 0 0.7rem;
	font-family: var(--nl-display);
	font-size: clamp(1.3rem, 1.9vw, 1.65rem);
	font-weight: 700;
	letter-spacing: -0.01em;
}

.nl-journey__stage > p {
	margin: 0;
	font-size: 0.98rem;
}

/* Four stages on one thread (How the Audit Goes) */
.nl-journey .nl-journey__track--four {
	gap: clamp(1rem, 1.8vw, 1.6rem);
}

.nl-journey__track--four > .nl-journey__stage {
	padding: 1.6rem 1.3rem 1.4rem;
}

.nl-journey__track--four > .nl-journey__stage::before {
	left: 1.3rem;
}

.nl-journey__track--four .nl-journey__stage > h3 {
	font-size: clamp(1.15rem, 1.5vw, 1.4rem);
}

/* ===================================================================
   8. Services  - mosaic 12-col
   =================================================================== */
.nl-services .nl-mosaic {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 1.25rem;
}

.nl-mosaic > .nl-svc {
	--acc: var(--nl-pink);
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	grid-column: span 4;
	margin: 0;
	padding: 1.6rem;
	border-radius: var(--nl-radius);
	background: var(--nl-surface);
	border: 1px solid var(--nl-line);
	box-shadow: var(--nl-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
	transition: transform 0.4s var(--nl-ease), border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Pink top edge */
.nl-svc::before {
	content: "";
	position: absolute;
	top: 0;
	left: 1.6rem;
	width: 3rem;
	height: 3px;
	border-radius: 0 0 99px 99px;
	background: var(--nl-grad);
	box-shadow: 0 0 14px rgba(247, 37, 133, 0.8);
	transition: width 0.4s var(--nl-ease);
}

.nl-svc:hover::before {
	width: calc(100% - 3.2rem);
}

.nl-svc:hover {
	transform: translateY(-6px);
	border-color: rgba(247, 37, 133, 0.6);
	box-shadow: 0 36px 70px -34px rgba(247, 37, 133, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Row 1: feature 6 + 3 + 3 ; row 2: 4 + 4 + 4 ; row 3: 7 + 5 */
.nl-mosaic > .nl-svc--feature { grid-column: span 6; }
.nl-mosaic > .nl-svc:nth-child(2),
.nl-mosaic > .nl-svc:nth-child(3) { grid-column: span 3; }
.nl-mosaic > .nl-svc--wide { grid-column: span 7; }
.nl-mosaic > .nl-svc:nth-child(8) { grid-column: span 5; }

.nl-svc > .nl-svc__art {
	width: 100%;
	max-width: 13rem;
	margin-block-end: 1rem;
	transition: transform 0.5s var(--nl-ease);
}

.nl-svc > .nl-svc__art img {
	filter: drop-shadow(0 18px 24px rgba(6, 9, 15, 0.55));
}

.nl-svc:hover > .nl-svc__art {
	transform: translateY(-4px) rotate(-1.5deg);
}

.nl-svc > h3 {
	margin-block: 0 0.6rem;
}

.nl-svc > p {
	margin: 0;
	font-size: 0.97rem;
}

/* Feature card: art on the right, bigger title */
.nl-mosaic > .nl-svc--feature {
	flex-direction: row;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 0 1.6rem;
	padding: clamp(1.6rem, 2.6vw, 2.4rem);
	background: linear-gradient(150deg, rgba(247, 37, 133, 0.22), rgba(36, 51, 80, 0.95) 55%);
	border-color: rgba(247, 37, 133, 0.45);
}

.nl-svc--feature > .nl-svc__art {
	order: 2;
	max-width: 19rem;
	margin: 0;
	flex: 0 0 auto;
	align-self: center;
}

.nl-svc--feature > h3 {
	order: 1;
	flex: 1 1 10rem;
	font-family: var(--nl-display);
	font-size: clamp(1.9rem, 3vw, 2.6rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	align-self: center;
}

.nl-svc--feature > p {
	order: 3;
	flex: 1 1 100%;
	margin-block-start: 1.2rem;
	font-size: 1.05rem;
	color: #E6EBF5;
}

/* Wide card: art left, text right */
.nl-mosaic > .nl-svc--wide {
	display: grid;
	grid-template-columns: 14rem minmax(0, 1fr);
	grid-template-rows: auto 1fr;
	column-gap: 1.6rem;
	align-items: start;
}

.nl-svc--wide > .nl-svc__art {
	grid-row: 1 / 3;
	margin: 0;
	align-self: center;
}

/* ===================================================================
   9. Why  - sticky side + numbered rows
   =================================================================== */
.nl-why {
	background: linear-gradient(180deg, transparent, rgba(17, 26, 43, 0.7) 20%, rgba(17, 26, 43, 0.7) 80%, transparent);
}

.nl-why .nl-why__grid {
	gap: clamp(2rem, 5vw, 5rem);
	align-items: start;
}

.nl-why .nl-why__side {
	position: sticky;
	top: 6rem;
}

.nl-why__side > h2::before {
	content: "";
	display: block;
	width: 3.2rem;
	height: 0.35rem;
	margin-block-end: 1.1rem;
	border-radius: 99px;
	background: var(--nl-grad);
	box-shadow: 0 0 18px rgba(247, 37, 133, 0.75);
}

.nl-why__side > p {
	font-size: 1.1rem;
	color: #DDE3F0;
}

.nl-why__side > .nl-why__art {
	max-width: 24rem;
	margin-block-start: 1.75rem;
}

.nl-why__art img {
	filter: drop-shadow(0 30px 40px rgba(6, 9, 15, 0.6));
	animation: nl-float 9s ease-in-out infinite;
}

.nl-why .nl-why__list,
.nl-why .nl-why__rows {
	counter-reset: nl-why;
	display: grid;
	gap: 0;
}

.nl-why .nl-why__rows {
	list-style: none;
	margin: 0;
	padding: 0;
}

.nl-why__list > .nl-why__row,
.nl-why__rows > .nl-why__row {
	position: relative;
	counter-increment: nl-why;
	margin: 0;
	padding: 1.75rem 1.25rem 1.75rem 5.5rem;
	border-top: 1px solid var(--nl-line);
	transition: background 0.3s ease, padding-left 0.3s var(--nl-ease);
}

.nl-why__list > .nl-why__row:last-child,
.nl-why__rows > .nl-why__row:last-child {
	border-bottom: 1px solid var(--nl-line);
}

.nl-why__row::before {
	content: "0" counter(nl-why);
	position: absolute;
	left: 0.25rem;
	top: 1.6rem;
	font-family: var(--nl-display);
	font-weight: 800;
	font-size: 1.7rem;
	line-height: 1;
	letter-spacing: -0.03em;
	background: linear-gradient(120deg, #fff, var(--nl-pink));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

.nl-why__row::after {
	content: "";
	position: absolute;
	left: 0;
	top: -1px;
	width: 0;
	height: 2px;
	background: var(--nl-pink);
	box-shadow: 0 0 16px rgba(247, 37, 133, 0.9);
	transition: width 0.45s var(--nl-ease);
}

.nl-why__row:hover {
	background: rgba(36, 51, 80, 0.45);
	padding-left: 5.9rem;
}

.nl-why__row:hover::after {
	width: 100%;
}

.nl-why__row > h3 {
	margin-block: 0 0.55rem;
}

.nl-why__row > p,
li.nl-why__row {
	margin: 0;
	font-size: 0.98rem;
}

li.nl-why__row > strong {
	display: block;
	margin-block-end: 0.55rem;
	font-size: 1.35rem;
	line-height: 1.25;
	color: #fff;
}

/* ===================================================================
   10. Clients  - light "paper" section, staggered bricks
   =================================================================== */
.nl-clients {
	background: var(--nl-paper);
	color: #3B4868;
	clip-path: polygon(0 3.5rem, 100% 0, 100% calc(100% - 3.5rem), 0 100%);
	padding-block: calc(var(--nl-sec) + 3.5rem);
	background-image:
		radial-gradient(40vw 30vw at 100% 0%, rgba(247, 37, 133, 0.12), transparent 60%),
		radial-gradient(30vw 30vw at 0% 100%, rgba(27, 38, 59, 0.12), transparent 60%);
}

.nl-clients h2,
.nl-clients h3 {
	color: var(--nl-navy);
}

.nl-clients .nl-head > p {
	color: #4A5878;
}

.nl-clients .nl-bricks {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.4rem;
	padding-block-end: 2.4rem;
}

.nl-bricks > .nl-brick {
	position: relative;
	margin: 0;
	padding: 2rem 1.6rem 1.8rem;
	border-radius: var(--nl-radius);
	background: #fff;
	border: 1px solid rgba(27, 38, 59, 0.08);
	box-shadow: 0 30px 50px -34px rgba(27, 38, 59, 0.55);
	transition: transform 0.4s var(--nl-ease), box-shadow 0.3s ease;
}

/* Middle column sits lower - staggered skyline */
.nl-bricks > .nl-brick:nth-child(3n + 2) {
	transform: translateY(2.4rem);
}

.nl-bricks > .nl-brick:hover {
	box-shadow: 0 40px 60px -30px rgba(247, 37, 133, 0.45);
}

.nl-bricks > .nl-brick:hover { transform: translateY(-0.5rem); }
.nl-bricks > .nl-brick:nth-child(3n + 2):hover { transform: translateY(1.9rem); }

/* Emoji badge per vertical */
.nl-brick::before {
	content: "🎰";
	display: grid;
	place-items: center;
	width: 3.2rem;
	height: 3.2rem;
	margin-block-end: 1.1rem;
	border-radius: 16px;
	font-size: 1.5rem;
	background: linear-gradient(140deg, #fff, #F3F5FA);
	border: 1px solid rgba(27, 38, 59, 0.1);
	box-shadow: 0 10px 24px -12px rgba(27, 38, 59, 0.45);
}

.nl-bricks > .nl-brick:nth-child(2)::before { content: "⚽"; }
.nl-bricks > .nl-brick:nth-child(3)::before { content: "♠️"; }
.nl-bricks > .nl-brick:nth-child(4)::before { content: "📊"; }
.nl-bricks > .nl-brick:nth-child(5)::before { content: "🧩"; }
.nl-bricks > .nl-brick:nth-child(6)::before { content: "₿"; color: var(--nl-pink); font-family: var(--nl-display); font-weight: 800; }

/* Pink corner tab */
.nl-brick::after {
	content: "";
	position: absolute;
	top: 1.4rem;
	right: 1.4rem;
	width: 0.7rem;
	height: 0.7rem;
	border-radius: 50%;
	background: var(--nl-pink);
	box-shadow: 0 0 0 5px rgba(247, 37, 133, 0.15);
}

.nl-brick > h3 {
	margin-block: 0 0.55rem;
}

.nl-brick > p,
li.nl-brick {
	margin: 0;
	font-size: 0.97rem;
	color: #4A5878;
}

li.nl-brick > strong {
	display: block;
	margin-block-end: 0.55rem;
	font-size: 1.35rem;
	line-height: 1.25;
	color: var(--nl-navy);
}

/* Variants for the service pages: 2 x 2 and 3 + 2, no stagger, icon chosen per card */
.nl-clients .nl-bricks--quad {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	padding-block-end: 0;
}

.nl-clients .nl-bricks--five {
	grid-template-columns: repeat(6, minmax(0, 1fr));
	list-style: none;
	margin-block: 0;
	padding: 0;
}

.nl-bricks--five > .nl-brick {
	grid-column: span 2;
}

.nl-bricks--five > .nl-brick:nth-child(n + 4) {
	grid-column: span 3;
}

.nl-bricks--quad > .nl-brick:nth-child(n),
.nl-bricks--five > .nl-brick:nth-child(n) {
	transform: none;
}

.nl-bricks--quad > .nl-brick:nth-child(n):hover,
.nl-bricks--five > .nl-brick:nth-child(n):hover {
	transform: translateY(-0.5rem);
}

.nl-bricks > .nl-brick.nl-brick--ball::before { content: "\26BD"; color: inherit; font-family: inherit; font-weight: inherit; }
.nl-bricks > .nl-brick.nl-brick--slot::before { content: "\1F3B0"; color: inherit; font-family: inherit; font-weight: inherit; }
.nl-bricks > .nl-brick.nl-brick--chart::before { content: "\1F4CA"; color: inherit; font-family: inherit; font-weight: inherit; }
.nl-bricks > .nl-brick.nl-brick--puzzle::before { content: "\1F9E9"; color: inherit; font-family: inherit; font-weight: inherit; }
.nl-bricks > .nl-brick.nl-brick--rocket::before { content: "\1F680"; color: inherit; font-family: inherit; font-weight: inherit; }
.nl-bricks > .nl-brick.nl-brick--aid::before { content: "\1F6DF"; color: inherit; font-family: inherit; font-weight: inherit; }

/* ===================================================================
   11. Top  - 2x2 quadrant with a crosshair
   =================================================================== */
.nl-top .nl-quad {
	position: relative;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0;
	padding: 0.5rem 0;
	border-radius: calc(var(--nl-radius) + 6px);
	background: linear-gradient(140deg, rgba(36, 51, 80, 0.6), rgba(17, 26, 43, 0.7));
	border: 1px solid var(--nl-line);
	box-shadow: var(--nl-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
	overflow: hidden;
}

/* Crosshair lines */
.nl-quad::before,
.nl-quad::after {
	content: "";
	position: absolute;
	background: linear-gradient(90deg, transparent, var(--nl-pink), transparent);
	opacity: 0.8;
	pointer-events: none;
}

.nl-quad::before {
	left: 6%;
	right: 6%;
	top: 50%;
	height: 1px;
}

.nl-quad::after {
	top: 6%;
	bottom: 6%;
	left: 50%;
	width: 1px;
	background: linear-gradient(180deg, transparent, var(--nl-pink), transparent);
}

.nl-quad > .nl-quad__cell {
	position: relative;
	margin: 0;
	padding: clamp(1.8rem, 3vw, 2.8rem) clamp(1.6rem, 3vw, 2.8rem) clamp(1.8rem, 3vw, 2.8rem) clamp(4.2rem, 5.5vw, 5.6rem);
	transition: background 0.3s ease;
}

.nl-quad > .nl-quad__cell:hover {
	background: rgba(247, 37, 133, 0.07);
}

/* Check badge */
.nl-quad__cell::before {
	content: "";
	position: absolute;
	left: clamp(1.4rem, 2.6vw, 2.4rem);
	top: clamp(1.9rem, 3.1vw, 2.9rem);
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 60% no-repeat, var(--nl-grad);
	box-shadow: 0 8px 20px -6px rgba(247, 37, 133, 0.9);
}

.nl-quad__cell > h3 {
	margin-block: 0 0.55rem;
}

.nl-quad__cell > p {
	margin: 0;
	font-size: 0.98rem;
}

/* Center glow dot where the crosshair meets */
.nl-top .nl-quad > .nl-quad__cell:nth-child(1)::after {
	content: "";
	position: absolute;
	right: -0.45rem;
	bottom: -0.45rem;
	width: 0.9rem;
	height: 0.9rem;
	border-radius: 50%;
	background: var(--nl-pink);
	box-shadow: 0 0 0 6px rgba(247, 37, 133, 0.18), 0 0 24px rgba(247, 37, 133, 1);
	z-index: 2;
}

/* ===================================================================
   12. CTA  - neon slab
   =================================================================== */
.nl-cta {
	padding-block: clamp(1rem, 3vw, 2.5rem) var(--nl-sec);
}

.nl-cta .nl-cta__panel {
	position: relative;
	isolation: isolate;
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr);
	gap: 2rem clamp(2rem, 5vw, 5rem);
	align-items: center;
	padding: clamp(2rem, 4.5vw, 4rem);
	border-radius: calc(var(--nl-radius) + 8px);
	background: var(--nl-grad);
	color: var(--nl-deep);
	box-shadow: 0 50px 100px -40px rgba(247, 37, 133, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.5);
	clip-path: polygon(0 0, 100% 0, 100% calc(100% - 2rem), calc(100% - 2rem) 100%, 0 100%);
	overflow: hidden;
}

/* Thread arrives here */
.nl-cta__panel::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px);
	background-size: 56px 56px;
	-webkit-mask-image: radial-gradient(ellipse at 100% 0%, #000, transparent 70%);
	mask-image: radial-gradient(ellipse at 100% 0%, #000, transparent 70%);
}

.nl-cta__panel::after {
	content: "";
	position: absolute;
	right: -8%;
	top: -40%;
	width: 36%;
	aspect-ratio: 1;
	border-radius: 50%;
	border: 2.5rem solid rgba(255, 255, 255, 0.12);
	z-index: -1;
}

.nl-cta__copy > h2 {
	color: var(--nl-deep);
	margin-block: 0 1rem;
	font-size: clamp(1.9rem, 3.6vw, 3rem);
}

.nl-cta__copy > p {
	margin: 0;
	color: #2A1020;
	font-size: 1.08rem;
	font-weight: 500;
}

.nl-cta__copy > p:only-child {
	font-size: clamp(1.15rem, 1.7vw, 1.4rem);
	font-weight: 700;
	line-height: 1.45;
	color: var(--nl-deep);
}

.nl-cta__actions {
	justify-content: flex-end;
}

.nl-cta__actions .wp-block-button__link {
	font-size: 1.05rem;
	padding: 1.1rem 1.7rem;
}

/* ===================================================================
   13. FAQ
   =================================================================== */
.nl-faq .nl-faq__grid {
	gap: clamp(2rem, 5vw, 5rem);
	align-items: start;
}

.nl-faq .nl-faq__side {
	position: sticky;
	top: 6rem;
}

.nl-faq__side > h2::before {
	content: "";
	display: block;
	width: 3.2rem;
	height: 0.35rem;
	margin-block-end: 1.1rem;
	border-radius: 99px;
	background: var(--nl-grad);
	box-shadow: 0 0 18px rgba(247, 37, 133, 0.75);
}

.nl-faq__side > h2::after {
	content: "?";
	display: block;
	margin-block-start: 1.6rem;
	font-size: clamp(8rem, 16vw, 15rem);
	line-height: 0.8;
	font-weight: 800;
	color: transparent;
	-webkit-text-stroke: 2px rgba(247, 37, 133, 0.7);
	filter: drop-shadow(0 0 24px rgba(247, 37, 133, 0.5));
}

.nl-faq .nl-faq__list {
	display: grid;
	gap: 0.8rem;
}

.nl-faq__list > .nl-faq__item {
	position: relative;
	margin: 0;
	border-radius: 18px;
	border: 1px solid var(--nl-line);
	background: rgba(36, 51, 80, 0.55);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
	overflow: hidden;
	transition: border-color 0.3s ease, background 0.3s ease;
}

.nl-faq__item::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 4px;
	background: var(--nl-grad);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.nl-faq__item[open] {
	border-color: rgba(247, 37, 133, 0.6);
	background: rgba(36, 51, 80, 0.85);
}

.nl-faq__item[open]::before {
	opacity: 1;
}

.nl-faq__item > summary {
	position: relative;
	list-style: none;
	cursor: pointer;
	padding: 1.2rem 4rem 1.2rem 1.4rem;
	font-weight: 700;
	font-size: clamp(1.05rem, 1.5vw, 1.2rem);
	line-height: 1.3;
	color: #fff;
}

.nl-faq__item > summary::-webkit-details-marker {
	display: none;
}

.nl-faq__item > summary::after {
	content: "";
	position: absolute;
	right: 1.1rem;
	top: 50%;
	width: 2.1rem;
	height: 2.1rem;
	margin-top: -1.05rem;
	border-radius: 50%;
	background:
		linear-gradient(#fff, #fff) center / 42% 2px no-repeat,
		linear-gradient(#fff, #fff) center / 2px 42% no-repeat,
		var(--nl-grad);
	box-shadow: 0 8px 20px -6px rgba(247, 37, 133, 0.9);
	transition: transform 0.3s ease;
}

.nl-faq__item[open] > summary::after {
	transform: rotate(135deg);
}

.nl-faq__item > p {
	margin: 0;
	padding: 0 1.4rem 1.4rem;
	max-width: 66ch;
}

/* ===================================================================
   13a. Service pages (Sports Betting SEO, SEO Audit for Casino Sites)
   =================================================================== */
/* Heading tick for headings that sit inside a column */
.nl-split__side > h2::before,
.nl-duo__copy > h2::before,
.nl-get__copy > h2::before {
	content: "";
	display: block;
	width: 3.2rem;
	height: 0.35rem;
	margin-block-end: 1.1rem;
	border-radius: 99px;
	background: var(--nl-grad);
	box-shadow: 0 0 18px rgba(247, 37, 133, 0.75);
}

/* Split: sticky heading + art, long copy on the right */
.nl-split .nl-split__grid {
	gap: clamp(2rem, 5vw, 5rem);
	align-items: start;
}

.nl-split .nl-split__side {
	position: sticky;
	top: 6rem;
	align-self: flex-start;
}

.nl-split__side > h2 {
	margin-block: 0;
}

.nl-split__side > .nl-split__art {
	max-width: 27rem;
	margin-block-start: 2rem;
}

.nl-split__art img,
.nl-duo__img img,
.nl-get__art img {
	filter: drop-shadow(0 30px 40px rgba(6, 9, 15, 0.6));
}

.nl-split__art img {
	animation: nl-float 9s ease-in-out infinite;
}

.nl-split__body > p {
	margin-block: 0;
}

.nl-split__body > .nl-lead {
	padding-block-end: 1.75rem;
}

.nl-callout {
	position: relative;
	overflow: hidden;
	padding: clamp(1.4rem, 2.6vw, 2.2rem);
	padding-inline-start: clamp(1.8rem, 3vw, 2.6rem);
	border-radius: var(--nl-radius);
	border: 1px solid var(--nl-line);
	background: linear-gradient(150deg, rgba(247, 37, 133, 0.16), rgba(36, 51, 80, 0.9) 55%);
	box-shadow: var(--nl-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.1);
	color: #E6EBF5;
}

.nl-callout::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 5px;
	background: var(--nl-grad);
	box-shadow: 0 0 18px rgba(247, 37, 133, 0.9);
}

/* Duo: illustration + heading and copy */
.nl-duo .nl-duo__grid {
	gap: clamp(2rem, 5vw, 5rem);
}

.nl-duo__copy > h2 {
	margin-block: 0 1.25rem;
}

.nl-duo__copy > p {
	margin: 0;
	font-size: 1.1rem;
	color: #DDE3F0;
}

.nl-duo__art > .nl-duo__img {
	max-width: 32rem;
	margin-inline: auto;
}

/* Process: six cards on a neon thread */
.nl-process .nl-steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2.6rem 1.4rem;
	padding-block-start: 0.6rem;
}

.nl-steps > .nl-steps__item {
	position: relative;
	margin: 0;
	padding: 2rem 1.6rem 1.7rem;
	border-radius: var(--nl-radius);
	background: linear-gradient(170deg, rgba(36, 51, 80, 0.95), rgba(27, 38, 59, 0.98));
	border: 1px solid var(--nl-line);
	box-shadow: var(--nl-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.1);
	transition: transform 0.4s var(--nl-ease), border-color 0.3s ease, box-shadow 0.3s ease;
}

.nl-steps > .nl-steps__item:hover {
	transform: translateY(-6px);
	border-color: rgba(247, 37, 133, 0.6);
	box-shadow: 0 36px 70px -34px rgba(247, 37, 133, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* thread segment running to the next card + node */
.nl-steps__item::before {
	content: "";
	position: absolute;
	top: -0.6rem;
	left: 1.6rem;
	right: -1.4rem;
	height: 3px;
	border-radius: 99px;
	background: linear-gradient(90deg, var(--nl-pink), rgba(247, 37, 133, 0.15));
	box-shadow: 0 0 16px rgba(247, 37, 133, 0.7);
}

.nl-steps__item:nth-child(3n)::before {
	right: 1.6rem;
}

.nl-steps__item::after {
	content: "";
	position: absolute;
	top: -1.05rem;
	left: 1.6rem;
	width: 0.9rem;
	height: 0.9rem;
	border-radius: 50%;
	background: var(--nl-deep);
	border: 3px solid var(--nl-pink);
	box-shadow: 0 0 0 5px var(--nl-navy), 0 0 20px rgba(247, 37, 133, 0.9);
}

.nl-steps__item > h3 {
	margin-block: 0 0.7rem;
	font-family: var(--nl-display);
	font-size: clamp(1.1rem, 1.5vw, 1.3rem);
	letter-spacing: -0.01em;
}

.nl-steps__item > p {
	margin: 0;
	font-size: 0.98rem;
}

/* Signs: numbered cards from a list */
.nl-signs .nl-signs__list {
	list-style: none;
	margin-block: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
	counter-reset: nl-sign;
}

.nl-signs__list > li {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	counter-increment: nl-sign;
	margin: 0;
	padding: 4.6rem 1.6rem 1.7rem;
	border-radius: var(--nl-radius);
	background: linear-gradient(170deg, rgba(36, 51, 80, 0.95), rgba(27, 38, 59, 0.98));
	border: 1px solid var(--nl-line);
	box-shadow: var(--nl-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.1);
	font-size: 0.98rem;
	transition: transform 0.4s var(--nl-ease), border-color 0.3s ease, box-shadow 0.3s ease;
}

.nl-signs__list > li:hover {
	transform: translateY(-6px);
	border-color: rgba(247, 37, 133, 0.7);
	box-shadow: 0 40px 80px -36px rgba(247, 37, 133, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.nl-signs__list > li::before {
	content: "0" counter(nl-sign);
	position: absolute;
	top: 0.9rem;
	left: 1.5rem;
	font-family: var(--nl-display);
	font-weight: 800;
	font-size: 3rem;
	line-height: 1;
	letter-spacing: -0.04em;
	color: transparent;
	-webkit-text-stroke: 1.5px rgba(247, 37, 133, 0.8);
	z-index: -1;
}

.nl-signs__list > li::after {
	content: "";
	position: absolute;
	right: -30%;
	top: -40%;
	width: 70%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(247, 37, 133, 0.4), transparent 68%);
	z-index: -1;
	opacity: 0.45;
	transition: opacity 0.35s ease;
}

.nl-signs__list > li:hover::after {
	opacity: 1;
}

.nl-signs__list > li > strong,
.nl-flags__list > li > strong {
	display: block;
	margin-block-end: 0.55rem;
	font-size: 1.2rem;
	line-height: 1.3;
	color: #fff;
}

/* Closing line of a section */
.nl-sec > .nl-note {
	max-width: var(--wp--style--global--wide-size, 1320px);
	margin-block: clamp(1.6rem, 3vw, 2.4rem) 0;
	padding: 1.2rem 1.5rem 1.2rem 3.7rem;
	position: relative;
	border-radius: 18px;
	border: 1px solid rgba(247, 37, 133, 0.45);
	background: rgba(247, 37, 133, 0.09);
	color: #E6EBF5;
	font-weight: 500;
	box-sizing: border-box;
}

.nl-sec > .nl-note::before {
	content: "";
	position: absolute;
	left: 1.2rem;
	top: 1.15rem;
	width: 1.7rem;
	height: 1.7rem;
	border-radius: 50%;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 7v6M12 17v.5'/%3E%3C/svg%3E") center / 62% no-repeat, var(--nl-grad);
	box-shadow: 0 8px 20px -6px rgba(247, 37, 133, 0.9);
}

/* What You Get: tick list + report card */
.nl-get .nl-get__grid {
	gap: clamp(2rem, 4.5vw, 4.5rem);
	align-items: start;
}

.nl-get__copy > h2 {
	margin-block: 0 1.1rem;
}

.nl-get__copy > p {
	font-size: 1.1rem;
	color: #DDE3F0;
}

.nl-get .nl-ticks {
	list-style: none;
	margin-block: 1.75rem 0;
	padding: 0;
	display: grid;
}

.nl-ticks > li {
	position: relative;
	margin: 0;
	padding: 1.15rem 0.5rem 1.15rem 3.3rem;
	border-top: 1px solid var(--nl-line);
	font-size: 0.98rem;
	transition: background 0.3s ease;
}

.nl-ticks > li:last-child {
	border-bottom: 1px solid var(--nl-line);
}

.nl-ticks > li:hover {
	background: rgba(36, 51, 80, 0.45);
}

.nl-ticks > li::before {
	content: "";
	position: absolute;
	left: 0.4rem;
	top: 1.2rem;
	width: 1.9rem;
	height: 1.9rem;
	border-radius: 50%;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 60% no-repeat, var(--nl-grad);
	box-shadow: 0 8px 20px -6px rgba(247, 37, 133, 0.9);
}

.nl-ticks > li > strong {
	color: #fff;
	font-size: 1.08rem;
}

.nl-get .nl-get__card {
	position: sticky;
	top: 6rem;
	align-self: flex-start;
	overflow: hidden;
	padding: clamp(1.5rem, 2.6vw, 2.2rem);
	border-radius: calc(var(--nl-radius) + 4px);
	border: 1px solid rgba(247, 37, 133, 0.45);
	background:
		linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 100% 2.2rem,
		linear-gradient(150deg, rgba(247, 37, 133, 0.2), rgba(36, 51, 80, 0.95) 55%);
	box-shadow: var(--nl-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.nl-get__card > .nl-get__art {
	max-width: 21rem;
	margin: 0 auto 1.4rem;
}

.nl-get__card > p {
	margin: 0;
	font-size: 1rem;
	color: #E6EBF5;
}

/* Red flags */
.nl-flags {
	background: linear-gradient(180deg, transparent, rgba(17, 26, 43, 0.7) 20%, rgba(17, 26, 43, 0.7) 80%, transparent);
}

.nl-flags .nl-flags__list {
	list-style: none;
	margin-block: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
}

.nl-flags__list > li {
	position: relative;
	margin: 0;
	padding: 1.6rem 1.5rem 1.6rem 4.6rem;
	border-radius: var(--nl-radius);
	background: var(--nl-surface);
	border: 1px solid var(--nl-line);
	box-shadow: var(--nl-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
	font-size: 0.97rem;
	transition: transform 0.4s var(--nl-ease), border-color 0.3s ease, box-shadow 0.3s ease;
}

.nl-flags__list > li:hover {
	transform: translateY(-6px);
	border-color: rgba(247, 37, 133, 0.6);
	box-shadow: 0 36px 70px -34px rgba(247, 37, 133, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.nl-flags__list > li::before {
	content: "";
	position: absolute;
	left: 1.3rem;
	top: 1.5rem;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 14px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 21V4'/%3E%3Cpath d='M6 4.5h11l-2.4 4 2.4 4H6' fill='white'/%3E%3C/svg%3E") center / 58% no-repeat, var(--nl-grad);
	box-shadow: 0 10px 24px -8px rgba(247, 37, 133, 0.9);
}

/* ===================================================================
   14. Footer
   =================================================================== */
.nl-footer {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding-block: clamp(3rem, 6vw, 5rem) 1.75rem;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	background: linear-gradient(180deg, rgba(17, 26, 43, 0.6), var(--nl-deep));
}

.nl-footer::before {
	content: "";
	position: absolute;
	z-index: -1;
	left: 50%;
	top: -40%;
	width: 80%;
	aspect-ratio: 2.4;
	transform: translateX(-50%);
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(247, 37, 133, 0.35), transparent);
	filter: blur(30px);
}

.nl-footer .nl-footer__top {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	gap: 2.5rem clamp(2rem, 6vw, 6rem);
	align-items: center;
}

.nl-footer .nl-footer__top > *,
.nl-footer .nl-footer__cols > *,
.nl-footer .nl-footer__row > * {
	margin-block: 0;
}

.nl-footer__title {
	font-size: clamp(1.6rem, 3.6vw, 2.6rem);
	margin-block-end: 1.1rem;
}

.nl-footer__about {
	max-width: 34rem;
	font-size: 1.02rem;
}

.nl-footer .nl-footer__email {
	margin-block-start: 1.1rem;
	font-weight: 600;
	font-size: 1.05rem;
}

.nl-footer .nl-footer__email a {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	color: #fff;
	text-decoration: none;
	overflow-wrap: anywhere;
}

.nl-footer .nl-footer__email a::before {
	content: "";
	flex: none;
	width: 2.2rem;
	height: 2.2rem;
	border-radius: 12px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='3'/%3E%3Cpath d='M4 7.5l8 6 8-6'/%3E%3C/svg%3E") center / 54% no-repeat, var(--nl-grad);
	box-shadow: 0 8px 20px -8px var(--nl-pink);
}

.nl-footer .nl-footer__email a:hover {
	color: var(--nl-pink-l);
}

.nl-footer .nl-footer__contact {
	padding: clamp(1.4rem, 2.6vw, 2rem);
	border-radius: var(--nl-radius);
	border: 1px solid var(--nl-line);
	background: rgba(36, 51, 80, 0.6);
	box-shadow: var(--nl-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.nl-footer .nl-footer__h {
	margin-block: 0 0.9rem;
	font-size: 1.1rem;
	font-weight: 700;
	letter-spacing: 0;
}

.nl-footer .nl-footer__h--big {
	font-family: var(--nl-display);
	font-size: 1.5rem;
	margin-block-end: 0.5rem;
}

.nl-footer .nl-footer__contact > p {
	margin-block: 0 1.25rem;
}

/* Messenger buttons: square icon tiles */
.nl-msgr {
	gap: 0.8rem;
}

.nl-msgr .nl-msgr__btn > .wp-block-button__link {
	--m: #25d366;
	display: block;
	width: 3.4rem;
	height: 3.4rem;
	padding: 0;
	overflow: hidden;
	text-indent: -999px;
	white-space: nowrap;
	border-radius: 16px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413Z'/%3E%3C/svg%3E") center / 48% no-repeat, var(--m);
	box-shadow: 0 12px 26px -10px var(--m), inset 0 1px 0 rgba(255, 255, 255, 0.35);
	animation: none;
}

.nl-msgr .nl-msgr__btn > .wp-block-button__link:hover {
	transform: translateY(-4px) scale(1.06);
	box-shadow: 0 18px 34px -10px var(--m), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.nl-msgr .nl-msgr--telegram > .wp-block-button__link {
	--m: #229ed9;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M11.944 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0a12 12 0 0 0-.056 0zm4.962 7.224c.1-.002.321.023.465.14a.506.506 0 0 1 .171.325c.016.093.036.306.02.472-.18 1.898-.962 6.502-1.36 8.627-.168.9-.499 1.201-.82 1.23-.696.065-1.225-.46-1.9-.902-1.056-.693-1.653-1.124-2.678-1.8-1.185-.78-.417-1.21.258-1.91.177-.184 3.247-2.977 3.307-3.23.007-.032.014-.15-.056-.212s-.174-.041-.249-.024c-.106.024-1.793 1.14-5.061 3.345-.48.33-.913.49-1.302.48-.428-.008-1.252-.241-1.865-.44-.752-.245-1.349-.374-1.297-.789.027-.216.325-.437.893-.663 3.498-1.524 5.83-2.529 6.998-3.014 3.332-1.386 4.025-1.627 4.476-1.635z'/%3E%3C/svg%3E");
}

.nl-msgr .nl-msgr--signal > .wp-block-button__link {
	--m: #3a76f0;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8'%3E%3Ccircle cx='12' cy='12' r='8.5' stroke-dasharray='3 2'/%3E%3Cpath d='M12 5.5a6.5 6.5 0 1 0 3.4 12.04L18.5 18.5l-.9-3.1A6.5 6.5 0 0 0 12 5.5z' fill='white' stroke='none'/%3E%3C/svg%3E");
}

.nl-msgr .nl-msgr--line > .wp-block-button__link {
	--m: #06c755;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M19.365 9.863c.349 0 .63.285.63.631 0 .345-.281.63-.63.63H17.61v1.125h1.755c.349 0 .63.283.63.63 0 .344-.281.629-.63.629h-2.386c-.345 0-.627-.285-.627-.629V8.108c0-.345.282-.63.63-.63h2.386c.346 0 .627.285.627.63 0 .349-.281.63-.63.63H17.61v1.125h1.755zm-3.855 3.016c0 .27-.174.51-.432.596-.064.021-.133.031-.199.031-.211 0-.391-.09-.51-.25l-2.443-3.317v2.94c0 .344-.279.629-.631.629-.346 0-.626-.285-.626-.629V8.108c0-.27.173-.51.43-.595.06-.023.136-.033.194-.033.195 0 .375.104.495.254l2.462 3.33V8.108c0-.345.282-.63.63-.63.345 0 .63.285.63.63v4.771zm-5.741 0c0 .344-.282.629-.631.629-.345 0-.627-.285-.627-.629V8.108c0-.345.282-.63.63-.63.346 0 .628.285.628.63v4.771zm-2.466.629H4.917c-.345 0-.63-.285-.63-.629V8.108c0-.345.285-.63.63-.63.348 0 .63.285.63.63v4.141h1.756c.348 0 .629.283.629.63 0 .344-.282.629-.629.629M24 10.314C24 4.943 18.615.572 12 .572S0 4.943 0 10.314c0 4.811 4.27 8.842 10.035 9.608.391.082.923.258 1.058.59.12.301.079.766.038 1.08l-.164 1.02c-.045.301-.24 1.186 1.049.645 1.291-.539 6.916-4.078 9.436-6.975C23.176 14.393 24 12.458 24 10.314'/%3E%3C/svg%3E");
}

.nl-footer .nl-footer__cta {
	margin-block-start: 1.25rem;
}

.nl-footer .nl-footer__cols {
	display: grid;
	grid-template-columns: 1fr 1fr 0.8fr 1.5fr;
	gap: 2rem clamp(1.5rem, 4vw, 4rem);
	margin-block-start: clamp(2.5rem, 5vw, 4rem);
	padding-block-start: clamp(2rem, 4vw, 3rem);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.nl-footer .nl-footer__links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.55rem;
	font-size: 0.95rem;
}

.nl-footer .nl-footer__links li {
	margin: 0;
}

.nl-footer .nl-footer__links a {
	color: var(--nl-text);
	text-decoration: none;
	transition: color 0.2s ease, padding 0.2s ease;
}

.nl-footer .nl-footer__links a:hover {
	color: #fff;
	padding-inline-start: 0.35rem;
}

.nl-footer .nl-footer__links li:not(.nl-footer__page) + .nl-footer__page {
	margin-block-start: 0.45rem;
	padding-block-start: 0.9rem;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.nl-footer .nl-footer__links .nl-footer__page a {
	display: inline-flex;
	align-items: baseline;
	gap: 0.55rem;
	color: #fff;
	font-weight: 600;
}

.nl-footer .nl-footer__links .nl-footer__page a::before {
	content: "";
	flex: none;
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	background: var(--nl-grad);
	box-shadow: 0 0 10px rgba(247, 37, 133, 0.9);
	transform: translateY(-0.1em);
}

.nl-footer .nl-footer__links a[aria-current="page"] {
	color: var(--nl-pink-l);
}

.nl-footer__note p {
	margin: 0;
	font-size: 0.88rem;
	line-height: 1.6;
	color: var(--nl-muted);
}

.nl-footer .nl-footer__h--badge {
	display: inline-block;
	padding: 0.3rem 0.8rem;
	border-radius: 99px;
	border: 1px solid rgba(247, 37, 133, 0.6);
	color: var(--nl-pink-l);
	font-size: 0.9rem;
}

.nl-footer .nl-footer__row {
	margin-block-start: clamp(2rem, 4vw, 3rem);
	padding-block-start: 1.4rem;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.nl-footer__copy {
	font-size: 0.88rem;
	color: var(--nl-muted);
}

/* ===================================================================
   15. Inner pages (legal, posts)
   =================================================================== */
.nl-main.nl-page {
	padding-block: clamp(2.5rem, 6vw, 4.5rem) var(--nl-sec);
}

.nl-page .nl-prose {
	position: relative;
	padding: clamp(1.5rem, 4.5vw, 3.5rem);
	border-radius: calc(var(--nl-radius) + 6px);
	border: 1px solid var(--nl-line);
	background: linear-gradient(160deg, rgba(36, 51, 80, 0.75), rgba(17, 26, 43, 0.85));
	box-shadow: var(--nl-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.nl-prose .nl-prose__title {
	margin-block: 0 1.25rem;
	font-size: clamp(2.1rem, 4.8vw, 3.4rem);
	line-height: 1.02;
	letter-spacing: -0.03em;
}

.nl-prose .nl-prose__title::after {
	content: "";
	display: block;
	width: 3.6rem;
	height: 0.35rem;
	margin-block-start: 1.2rem;
	border-radius: 99px;
	background: var(--nl-grad);
	box-shadow: 0 0 18px rgba(247, 37, 133, 0.7);
}

.nl-prose .nl-prose__meta {
	display: inline-block;
	margin-block: 0 0.5rem;
	padding: 0.3rem 0.9rem;
	border-radius: 99px;
	border: 1px solid var(--nl-line);
	background: rgba(255, 255, 255, 0.05);
	font-size: 0.88rem;
	color: var(--nl-muted);
}

.nl-prose .wp-block-post-content h2 {
	margin-block: 2.2rem 0.8rem;
	font-size: clamp(1.4rem, 2.4vw, 1.8rem);
}

.nl-prose .wp-block-post-content h3 {
	margin-block: 1.6rem 0.6rem;
}

.nl-prose .wp-block-post-content :is(p, li) {
	line-height: 1.7;
}

.nl-prose .wp-block-post-content ul {
	margin-block: 1rem;
	padding-inline-start: 0;
	list-style: none;
	display: grid;
	gap: 0.6rem;
}

.nl-prose .wp-block-post-content ul > li {
	position: relative;
	margin: 0;
	padding-inline-start: 1.6rem;
}

.nl-prose .wp-block-post-content ul > li::before {
	content: "";
	position: absolute;
	left: 0.15rem;
	top: 0.65em;
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	background: var(--nl-grad);
	box-shadow: 0 0 10px rgba(247, 37, 133, 0.8);
}

.nl-prose strong {
	color: #fff;
}

/* Tables inside content: scroll inside their own frame on narrow screens */
.nl-main .wp-block-table {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.nl-main .wp-block-table table {
	min-width: 36rem;
}

/* ===================================================================
   16. Reveal animation (classes are added by theme.js on the front end)
   =================================================================== */
.nl-reveal {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity 0.7s ease var(--nl-delay, 0ms), transform 0.8s var(--nl-ease) var(--nl-delay, 0ms);
}

.nl-reveal.is-in {
	opacity: 1;
	transform: none;
}

/* The fan cards and bricks carry their own transforms - reveal via opacity only */
.nl-fan__card.nl-reveal,
.nl-brick.nl-reveal {
	transition: opacity 0.7s ease var(--nl-delay, 0ms), transform 0.45s var(--nl-ease), border-color 0.35s ease, box-shadow 0.35s ease;
}

.nl-fan__card.nl-reveal:not(.is-in),
.nl-brick.nl-reveal:not(.is-in) {
	opacity: 0;
}

/* ===================================================================
   17. Responsive
   =================================================================== */
@media (max-width: 1100px) {
	.nl-services .nl-mosaic {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.nl-mosaic > .nl-svc,
	.nl-mosaic > .nl-svc:nth-child(2),
	.nl-mosaic > .nl-svc:nth-child(3),
	.nl-mosaic > .nl-svc:nth-child(8) {
		grid-column: span 1;
	}

	.nl-mosaic > .nl-svc--feature,
	.nl-mosaic > .nl-svc--wide,
	.nl-mosaic--six > .nl-svc:nth-child(6) {
		grid-column: span 2;
	}

	.nl-process .nl-steps,
	.nl-signs .nl-signs__list,
	.nl-flags .nl-flags__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.nl-steps__item:nth-child(n)::before {
		right: -1.4rem;
	}

	.nl-steps__item:nth-child(2n)::before {
		right: 1.6rem;
	}
}

@media (max-width: 900px) {
	.nl-rules .nl-fan {
		grid-template-columns: minmax(0, 1fr);
		gap: 1rem;
	}

	.nl-fan > .nl-fan__card:nth-child(n) {
		transform: none;
		padding-block-start: 4.4rem;
	}

	.nl-journey .nl-journey__track {
		flex-direction: column;
		padding-block-start: 0;
		padding-inline-start: 2rem;
		gap: 2.4rem;
	}

	/* Thread becomes vertical */
	.nl-journey__track::before {
		top: 0;
		bottom: 0;
		left: 0.9rem;
		right: auto;
		width: 4px;
		height: auto;
		transform: scaleY(0.2);
		transform-origin: top center;
	}

	.nl-journey__track.is-lit::before {
		transform: scaleY(1);
	}

	.nl-journey__stage::before {
		top: 1.6rem;
		left: -2.8rem;
	}

	.nl-why .nl-why__grid,
	.nl-faq .nl-faq__grid,
	.nl-split .nl-split__grid,
	.nl-get .nl-get__grid,
	.nl-duo .nl-duo__grid {
		flex-direction: column;
	}

	.nl-why .nl-why__side,
	.nl-faq .nl-faq__side,
	.nl-split .nl-split__side,
	.nl-get .nl-get__card {
		position: static;
	}

	.nl-split__side > .nl-split__art,
	.nl-duo__art > .nl-duo__img {
		max-width: 22rem;
	}

	.nl-duo .nl-duo__grid > .nl-duo__art {
		order: 2;
	}

	.nl-journey__track--four > .nl-journey__stage::before {
		left: -2.8rem;
	}

	.nl-why__side > .nl-why__art {
		max-width: 20rem;
	}

	.nl-faq__side > h2::after {
		display: none;
	}

	.nl-clients .nl-bricks {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		padding-block-end: 1.2rem;
	}

	.nl-bricks > .nl-brick:nth-child(n) {
		transform: none;
	}

	.nl-bricks > .nl-brick:nth-child(4n + 2),
	.nl-bricks > .nl-brick:nth-child(4n + 3) {
		transform: translateY(1.2rem);
	}

	.nl-bricks--quad > .nl-brick:nth-child(n),
	.nl-bricks--five > .nl-brick:nth-child(n) {
		transform: none;
	}

	.nl-bricks--five > .nl-brick:nth-child(n) {
		grid-column: auto;
	}

	.nl-bricks--five > .nl-brick:last-child {
		grid-column: 1 / -1;
	}

	.nl-cta .nl-cta__panel {
		grid-template-columns: minmax(0, 1fr);
	}

	.nl-cta__actions {
		justify-content: flex-start;
	}

	.nl-footer .nl-footer__top {
		grid-template-columns: minmax(0, 1fr);
	}

	.nl-footer .nl-footer__cols {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 700px) {
	.nl-hero__art::before {
		inset: 10% 0 4% 10%;
	}

	.nl-top .nl-quad {
		grid-template-columns: minmax(0, 1fr);
	}

	.nl-quad::before,
	.nl-quad::after,
	.nl-top .nl-quad > .nl-quad__cell:nth-child(1)::after {
		display: none;
	}

	.nl-quad > .nl-quad__cell + .nl-quad__cell {
		border-top: 1px solid var(--nl-line);
	}

	.nl-mosaic > .nl-svc--wide {
		display: flex;
	}

	.nl-svc--wide > .nl-svc__art {
		margin-block-end: 1.2rem;
	}

	.nl-svc--feature > .nl-svc__art {
		order: 0;
		flex: 1 1 100%;
		max-width: 13rem;
		margin-block-end: 1rem;
	}

	.nl-hero__actions,
	.nl-hero__actions .wp-block-button,
	.nl-hero__actions .wp-block-button__link,
	.nl-cta__actions .wp-block-button,
	.nl-cta__actions .wp-block-button__link {
		width: 100%;
		box-sizing: border-box;
		text-align: center;
	}

	.nl-header .nl-header__cta {
		display: none;
	}

	.nl-journey,
	.nl-clients {
		clip-path: polygon(0 0, 100% 1.6rem, 100% 100%, 0 calc(100% - 1.6rem));
		padding-block: calc(var(--nl-sec) + 1.6rem);
	}

	.nl-clients {
		clip-path: polygon(0 1.6rem, 100% 0, 100% calc(100% - 1.6rem), 0 100%);
	}
}

@media (max-width: 560px) {
	.nl-services .nl-mosaic {
		grid-template-columns: minmax(0, 1fr);
	}

	.nl-mosaic > .nl-svc:nth-child(n) {
		grid-column: auto;
	}

	.nl-clients .nl-bricks {
		grid-template-columns: minmax(0, 1fr);
	}

	.nl-bricks > .nl-brick:nth-child(n) {
		transform: none;
	}

	.nl-process .nl-steps,
	.nl-signs .nl-signs__list,
	.nl-flags .nl-flags__list {
		grid-template-columns: minmax(0, 1fr);
	}

	.nl-process .nl-steps {
		gap: 1.4rem;
		padding-block-start: 0;
	}

	.nl-steps__item:nth-child(n)::before,
	.nl-steps__item::after {
		display: none;
	}

	.nl-steps > .nl-steps__item {
		border-top: 3px solid var(--nl-pink);
	}
}

@media (max-width: 420px) {
	.nl-hero__title {
		font-size: 2.35rem;
	}

	.nl-why__list > .nl-why__row {
		padding-left: 4.2rem;
	}

	.nl-why__row:hover {
		padding-left: 4.4rem;
	}

	.nl-why__row::before {
		font-size: 1.5rem;
		top: 1.7rem;
	}

	.nl-footer .nl-footer__cols {
		grid-template-columns: minmax(0, 1fr);
	}

	.nl-footer .nl-footer__row {
		flex-direction: column;
		align-items: flex-start;
	}

	.nl-faq__item > summary {
		padding-right: 3.4rem;
	}

	.nl-flags__list > li {
		padding: 4.6rem 1.3rem 1.4rem;
	}

	/* brand + burger must fit a 360px screen */
	.nl-brand {
		font-size: 0.88rem;
	}

	.nl-brand a {
		gap: 0.5rem;
	}

	.nl-brand a::before {
		width: 2rem;
		height: 2rem;
	}

	.nl-sec > .nl-note {
		padding: 3.4rem 1.2rem 1.2rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
	}

	.nl-reveal {
		opacity: 1;
		transform: none;
	}
}
