/* ==========================================================
   NESK Framework
   Modern
   Version 1.0.0
   ========================================================== */


/* ----------------------------------------------------------
   Modern design tokens
   ---------------------------------------------------------- */

:root {
	--nesk-modern-content-width: 1280px;

	--nesk-modern-space: clamp(5rem, 9vw, 9rem);
	--nesk-modern-space-small: clamp(3.5rem, 6vw, 6rem);

	--nesk-modern-radius-sm: 2px;
	--nesk-modern-radius-md: 4px;

	--nesk-modern-line: rgba(15, 35, 55, 0.18);

	--nesk-modern-transition: 180ms ease;
}


/* Shared content safety: prevent grid children and media from overflowing. */
.nesk-hero__grid > *,
.nesk-services__inner > *,
.nesk-content-split__inner > *,
.nesk-content-text__inner > *,
.nesk-features__inner > *,
.nesk-highlight__inner > *,
.nesk-cta__inner > *,
.nesk-page-hero__inner > *,
.nesk-contact__inner > * {
    min-width: 0;
}

/* Standalone page headings, such as the Component Lab title. */
.nesk-main > .wp-block-heading,
.nesk-main > .wp-block-post-title {
    box-sizing: border-box;
    width: calc(100% - 64px);
    max-width: var(--nesk-modern-content-width);
    margin-left: auto !important;
    margin-right: auto !important;
}

@media (max-width: 600px) {
    .nesk-main > .wp-block-heading,
    .nesk-main > .wp-block-post-title {
        width: calc(100% - 40px);
    }
}

/* ----------------------------------------------------------
   Foundation
   ---------------------------------------------------------- */

body {
	-webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
	text-wrap: balance;
	overflow-wrap: normal;
	word-break: normal;
	hyphens: none;
}

h1 {
	font-size: clamp(3rem, 6.5vw, 6.5rem);
	line-height: 0.96;
	letter-spacing: -0.055em;
}

h2 {
	font-size: clamp(2.25rem, 4.5vw, 4.25rem);
	line-height: 1;
	letter-spacing: -0.045em;
}

h3 {
	font-size: clamp(1.3rem, 2vw, 1.75rem);
	line-height: 1.15;
	letter-spacing: -0.02em;
}

p {
	margin-top: 0;
}

a {
	text-underline-offset: 0.2em;
}


/* ----------------------------------------------------------
   Buttons
   ---------------------------------------------------------- */

.wp-element-button {
	border-radius: var(--nesk-modern-radius-sm);

	transition:
		transform var(--nesk-modern-transition),
		background-color var(--nesk-modern-transition),
		color var(--nesk-modern-transition);
}

.wp-element-button:hover {
	transform: translateY(-2px);
}


/* ==========================================================
   HERO – SPLIT
   ========================================================== */

.nesk-hero {
	overflow: hidden;
}

.nesk-hero--split {
	position: relative;

	padding-top: clamp(4rem, 7vw, 7rem);
	padding-bottom: clamp(3rem, 5vw, 5rem);
}

.nesk-hero .nesk-hero__grid {
	display: grid;

	grid-template-columns:
		minmax(0, 1.15fr)
		minmax(360px, 0.85fr);

	gap: clamp(3rem, 7vw, 8rem);
	align-items: center;

	box-sizing: border-box;

	width: calc(100% - 64px);
	max-width: var(--nesk-modern-content-width);

	margin-left: auto !important;
	margin-right: auto !important;
}


/* ----------------------------------------------------------
   Hero – content
   ---------------------------------------------------------- */

.nesk-hero__content {
	position: relative;

	width: 100%;
	min-width: 0;
	max-width: 760px;
}

.nesk-hero__eyebrow {
	display: flex;
	align-items: center;
	gap: 0.8rem;

	margin: 0 0 1.5rem;

	color: var(--wp--preset--color--accent);

	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1.2;

	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.nesk-hero__eyebrow::before {
	content: "";

	display: block;

	width: 2.75rem;
	height: 1px;

	flex: 0 0 auto;

	background: currentColor;
}

.nesk-hero__title {
	max-width: 820px;

	margin-top: 0;
	margin-bottom: 2rem;

	font-size: clamp(3.5rem, 6.4vw, 6.5rem);
	line-height: 0.95;
	letter-spacing: -0.06em;

	text-wrap: balance;
	overflow-wrap: normal;
	word-break: normal;
	hyphens: none;
}

.nesk-hero__lead {
	max-width: 580px;

	margin-top: 0;
	margin-bottom: 2.5rem;

	color: var(--wp--preset--color--muted);

	font-size: clamp(1.1rem, 1.5vw, 1.3rem);
	line-height: 1.65;
}


/* ----------------------------------------------------------
   Hero – actions
   ---------------------------------------------------------- */

.nesk-hero__actions {
	display: flex !important;

	flex-direction: row;
	flex-wrap: wrap;

	gap: 0.75rem;
	align-items: center;

	margin: 0;
}

.nesk-hero__actions .wp-block-button {
	margin: 0;
}

.nesk-hero__actions .wp-element-button {
	padding: 1rem 1.6rem;

	font-weight: 700;
}

.nesk-button--secondary .wp-element-button {
	background: transparent;

	color: var(--wp--preset--color--primary);

	border: 1px solid var(--wp--preset--color--primary);

	box-shadow: none;
}

.nesk-button--secondary .wp-element-button:hover {
	background: var(--wp--preset--color--primary);
	color: #fff;
}


/* ----------------------------------------------------------
   Hero – media
   ---------------------------------------------------------- */

.nesk-hero__media {
	position: relative;

	width: 100%;
	min-width: 0;
}

.nesk-hero__media::before {
	content: "";

	position: absolute;

	top: -2rem;
	right: -2rem;

	width: 62%;
	height: 62%;

	background: var(--wp--preset--color--surface);

	z-index: 0;
}

.nesk-hero__image {
	position: relative;
	z-index: 1;

	overflow: hidden;

	width: 100%;
	max-width: none;

	margin: 0;

	border-radius: var(--nesk-modern-radius-md);

	box-shadow: none;
}

.nesk-hero__image img {
	display: block;

	width: 100%;
	height: auto;

	aspect-ratio: 4 / 5;

	object-fit: cover;
}


/* ==========================================================
   SERVICES – GRID
   ========================================================== */

.nesk-services {
	position: relative;

	padding-top: clamp(3rem, 5vw, 5rem);
	padding-bottom: clamp(2rem, 4vw, 4rem);
}

.nesk-services__inner {
	box-sizing: border-box;

	width: calc(100% - 64px);
	max-width: var(--nesk-modern-content-width);

	margin-left: auto !important;
	margin-right: auto !important;
}


/* ----------------------------------------------------------
   Services – introduction
   ---------------------------------------------------------- */

.nesk-services__intro {
	max-width: 900px;

	margin-bottom: clamp(3.5rem, 6vw, 5.5rem);
}

.nesk-services__eyebrow {
	display: flex;
	align-items: center;
	gap: 0.8rem;

	margin: 0 0 1.4rem;

	color: var(--wp--preset--color--accent);

	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1.2;

	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.nesk-services__eyebrow::before {
	content: "";

	display: block;

	width: 2.75rem;
	height: 1px;

	flex: 0 0 auto;

	background: currentColor;
}

.nesk-services__title {
	max-width: 850px;

	margin-top: 0;
	margin-bottom: 0;

	font-size: clamp(2.5rem, 5vw, 4.75rem);
	line-height: 0.98;
	letter-spacing: -0.05em;
}


/* ----------------------------------------------------------
   Services – grid
   ---------------------------------------------------------- */

.nesk-services__grid {
	display: grid;

	grid-template-columns: repeat(3, minmax(0, 1fr));

	gap: 0;

	width: 100%;

	border-top: 1px solid var(--nesk-modern-line);
	border-bottom: 1px solid var(--nesk-modern-line);

	counter-reset: nesk-modern-service;
}

.nesk-service-card {
	position: relative;

	display: flex;
	flex-direction: column;

	min-width: 0;
	min-height: 280px;

	padding: clamp(2rem, 3.5vw, 3rem);

	background: transparent;

	border: 0;
	border-radius: 0;

	box-shadow: none;

	counter-increment: nesk-modern-service;
}

.nesk-service-card + .nesk-service-card {
	border-left: 1px solid var(--nesk-modern-line);
}

.nesk-service-card::before {
	content: counter(nesk-modern-service, decimal-leading-zero);

	display: block;

	margin-bottom: clamp(1.5rem, 2.5vw, 2.5rem);

	color: var(--wp--preset--color--accent);

	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1;

	letter-spacing: 0.12em;
}


/* ----------------------------------------------------------
   Services – item content
   ---------------------------------------------------------- */

.nesk-service-card__title {
	margin-top: 0;
	margin-bottom: 1.25rem;

	font-size: clamp(1.45rem, 2.2vw, 2rem);
	line-height: 1.08;
	letter-spacing: -0.035em;
}

.nesk-service-card__text {
	max-width: 34rem;

	margin-top: 0;
	margin-bottom: 2rem;

	color: var(--wp--preset--color--muted);

	font-size: 1rem;
	line-height: 1.7;
}

.nesk-service-card__link {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;

	width: fit-content;

	margin-top: auto;

	color: var(--wp--preset--color--primary);

	font-size: 0.95rem;
	font-weight: 700;

	text-decoration: none;

	transition:
		gap var(--nesk-modern-transition),
		color var(--nesk-modern-transition);
}

.nesk-service-card__link:hover {
	gap: 0.9rem;
}


/* ----------------------------------------------------------
   Services – adaptive item counts
   ---------------------------------------------------------- */

.nesk-services__grid:has(> .nesk-service-card:only-child) {
	grid-template-columns: 1fr;
}

.nesk-services__grid > .nesk-service-card:only-child {
	min-height: 280px;

	padding-right: clamp(2rem, 12vw, 10rem);
}

.nesk-services__grid > .nesk-service-card:only-child::before {
	margin-bottom: 3rem;
}

.nesk-services__grid > .nesk-service-card:only-child .nesk-service-card__title {
	max-width: 800px;

	font-size: clamp(2rem, 4vw, 3.5rem);
}

.nesk-services__grid > .nesk-service-card:only-child .nesk-service-card__text {
	max-width: 720px;
}

.nesk-services__grid:has(> .nesk-service-card:nth-child(2):last-child) {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nesk-services__grid:has(> .nesk-service-card:nth-child(4):last-child) {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nesk-services__grid:has(> .nesk-service-card:nth-child(4):last-child)
	> .nesk-service-card:nth-child(3) {
	border-left: 0;
}

.nesk-services__grid:has(> .nesk-service-card:nth-child(4):last-child)
	> .nesk-service-card:nth-child(n+3) {
	border-top: 1px solid var(--nesk-modern-line);
}


/* ==========================================================
   CONTENT – SPLIT
   ========================================================== */

.nesk-content-split {
    position: relative;

    overflow: hidden;

    padding-top: clamp(3rem, 5vw, 5rem);
    padding-bottom: clamp(3rem, 5vw, 5rem);
}

.nesk-content-split__inner {
	display: grid;

	grid-template-columns:
		minmax(0, 0.9fr)
		minmax(0, 1.1fr);

	gap: clamp(4rem, 8vw, 9rem);
	align-items: center;

	box-sizing: border-box;

	width: calc(100% - 64px);
	max-width: var(--nesk-modern-content-width);

	margin-left: auto !important;
	margin-right: auto !important;
}


/* ----------------------------------------------------------
   Content Split – content
   ---------------------------------------------------------- */

.nesk-content-split__content {
	position: relative;

	width: 100%;
	min-width: 0;
	max-width: 620px;
}

.nesk-content-split__eyebrow {
	display: flex;
	align-items: center;
	gap: 0.8rem;

	margin: 0 0 1.4rem;

	color: var(--wp--preset--color--accent);

	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1.2;

	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.nesk-content-split__eyebrow::before {
	content: "";

	display: block;

	width: 2.75rem;
	height: 1px;

	flex: 0 0 auto;

	background: currentColor;
}

.nesk-content-split__title {
	margin-top: 0;
	margin-bottom: 1.75rem;

	font-size: clamp(2.5rem, 4.6vw, 4.5rem);
	line-height: 0.98;
	letter-spacing: -0.05em;
}

.nesk-content-split__text {
	max-width: 580px;

	margin-top: 0;
	margin-bottom: 2rem;

	color: var(--wp--preset--color--muted);

	font-size: clamp(1rem, 1.25vw, 1.15rem);
	line-height: 1.75;
}


/* ----------------------------------------------------------
   Content Split – actions
   ---------------------------------------------------------- */

.nesk-content-split__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;

	align-items: center;

	margin-top: 2rem;
}

.nesk-content-split__actions .wp-block-button {
	margin: 0;
}

.nesk-content-split__actions .wp-element-button {
	padding: 1rem 1.6rem;

	font-weight: 700;
}


/* ----------------------------------------------------------
   Content Split – media
   ---------------------------------------------------------- */

.nesk-content-split__media {
	position: relative;

	width: 100%;
	min-width: 0;
}

.nesk-content-split__media::after {
	content: "";

	position: absolute;

	left: -1.5rem;
	bottom: -1.5rem;

	width: 42%;
	height: 38%;

	border-left: 1px solid var(--wp--preset--color--accent);
	border-bottom: 1px solid var(--wp--preset--color--accent);

	pointer-events: none;

	z-index: 2;
}

.nesk-content-split__media .wp-block-image {
	position: relative;

	overflow: hidden;

	width: 100%;
	max-width: none;

	margin: 0;

	border-radius: var(--nesk-modern-radius-md);

	box-shadow: none;
}

.nesk-content-split__media .wp-block-image img {
	display: block;

	width: 100%;
	height: auto;

	aspect-ratio: 5 / 6;

	object-fit: cover;
}


/* ==========================================================
   CONTENT – SPLIT / REVERSE
   ========================================================== */

.nesk-content-split--reverse .nesk-content-split__inner {
	grid-template-columns:
		minmax(0, 1fr)
		minmax(0, 1.2fr);

	gap: clamp(2rem, 4vw, 5rem);
}

.nesk-content-split--reverse .nesk-content-split__media {
	order: 1;
}

.nesk-content-split--reverse .nesk-content-split__content {
	order: 2;
	justify-self: stretch;
	width: 100%;
	max-width: 720px;
}

.nesk-content-split--reverse .nesk-content-split__media::after {
	left: auto;
	right: -1.5rem;

	border-left: 0;
	border-right: 1px solid var(--wp--preset--color--accent);
}


/* ==========================================================
   CONTENT – TEXT
   ========================================================== */

.nesk-content-text {
	position: relative;

	padding-top: var(--nesk-modern-space);
	padding-bottom: var(--nesk-modern-space);
}

.nesk-content-text__inner {
	display: grid;

	grid-template-columns:
		minmax(0, 1.05fr)
		minmax(320px, 0.75fr);

	grid-template-areas:
		"eyebrow eyebrow"
		"title body";

	column-gap: clamp(4rem, 9vw, 10rem);
	row-gap: 1.5rem;
	align-items: start;

	box-sizing: border-box;

	width: calc(100% - 64px);
	max-width: var(--nesk-modern-content-width);

	margin-left: auto !important;
	margin-right: auto !important;

	padding-top: clamp(2.5rem, 4vw, 4rem);

	border-top: 1px solid var(--nesk-modern-line);
}

.nesk-content-text__eyebrow {
	grid-area: eyebrow;

	display: flex;
	align-items: center;
	gap: 0.8rem;

	margin: 0;

	color: var(--wp--preset--color--accent);

	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1.2;

	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.nesk-content-text__eyebrow::before {
	content: "";

	display: block;

	width: 2.75rem;
	height: 1px;

	flex: 0 0 auto;

	background: currentColor;
}

.nesk-content-text__title {
	grid-area: title;

	max-width: 720px;

	margin: 0;

	font-size: clamp(2.75rem, 5vw, 5rem);
	line-height: 0.98;
	letter-spacing: -0.055em;
}

.nesk-content-text__body {
	grid-area: body;

	max-width: 520px;

	padding-top: 0.4rem;
}

.nesk-content-text__body p {
	margin-top: 0;
	margin-bottom: 1.5rem;

	color: var(--wp--preset--color--muted);

	font-size: clamp(1.05rem, 1.3vw, 1.18rem);
	line-height: 1.8;
}

.nesk-content-text__body p:last-child {
	margin-bottom: 0;
}


/* ==========================================================
   FEATURES – GRID
   ========================================================== */

.nesk-features {
	position: relative;

	padding-top: var(--nesk-modern-space);
	padding-bottom: var(--nesk-modern-space);
}

.nesk-features__inner {
	display: grid;

	grid-template-columns:
		minmax(280px, 0.8fr)
		minmax(0, 1.2fr);

	gap: clamp(4rem, 9vw, 10rem);
	align-items: start;

	box-sizing: border-box;

	width: calc(100% - 64px);
	max-width: var(--nesk-modern-content-width);

	margin-left: auto !important;
	margin-right: auto !important;
}

.nesk-features__intro {
	max-width: 520px;
}

.nesk-features__eyebrow {
	display: flex;
	align-items: center;
	gap: 0.8rem;

	margin: 0 0 1.4rem;

	color: var(--wp--preset--color--accent);

	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1.2;

	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.nesk-features__eyebrow::before {
	content: "";

	display: block;

	width: 2.75rem;
	height: 1px;

	flex: 0 0 auto;

	background: currentColor;
}

.nesk-features__title {
	margin-top: 0;
	margin-bottom: 1.75rem;

	font-size: clamp(2.5rem, 4.5vw, 4.25rem);
	line-height: 0.98;
	letter-spacing: -0.05em;
}

.nesk-features__lead {
	max-width: 480px;

	margin: 0;

	color: var(--wp--preset--color--muted);

	font-size: clamp(1rem, 1.25vw, 1.15rem);
	line-height: 1.75;
}


/* ----------------------------------------------------------
   Features – grid
   ---------------------------------------------------------- */

.nesk-features__grid {
	display: grid;

	grid-template-columns: repeat(2, minmax(0, 1fr));

	width: 100%;

	border-top: 1px solid var(--nesk-modern-line);
	border-bottom: 1px solid var(--nesk-modern-line);

	counter-reset: nesk-modern-feature;
}

.nesk-features__item {
	position: relative;

	min-width: 0;
	min-height: 250px;

	box-sizing: border-box;

	padding: clamp(2rem, 3.5vw, 3rem);

	background: transparent;

	border: 0;
	border-radius: 0;

	box-shadow: none;

	counter-increment: nesk-modern-feature;
}

.nesk-features__item:nth-child(even) {
	border-left: 1px solid var(--nesk-modern-line);
}

.nesk-features__item:nth-child(n+3) {
	border-top: 1px solid var(--nesk-modern-line);
}

.nesk-features__item::before {
	content: counter(nesk-modern-feature, decimal-leading-zero);

	display: block;

	margin-bottom: clamp(2.5rem, 4vw, 4rem);

	color: var(--wp--preset--color--accent);

	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1;

	letter-spacing: 0.12em;
}

.nesk-features__item-title {
	max-width: 320px;

	margin-top: 0;
	margin-bottom: 1rem;

	font-size: clamp(1.35rem, 2vw, 1.8rem);
	line-height: 1.08;
	letter-spacing: -0.035em;
}

.nesk-features__item p {
	max-width: 340px;

	margin: 0;

	color: var(--wp--preset--color--muted);

	font-size: 1rem;
	line-height: 1.7;
}


/* ==========================================================
   HIGHLIGHT – PRIMARY
   ========================================================== */

.nesk-highlight {
	position: relative;

	overflow: hidden;

	padding-top: var(--nesk-modern-space-small);
	padding-bottom: var(--nesk-modern-space-small);

	background: var(--wp--preset--color--primary);
	color: #fff;
}

.nesk-highlight__inner {
	position: relative;

	display: grid;

	grid-template-columns:
		minmax(0, 1.35fr)
		minmax(220px, 0.65fr);

	gap: clamp(3rem, 8vw, 8rem);
	align-items: end;

	box-sizing: border-box;

	width: calc(100% - 64px);
	max-width: var(--nesk-modern-content-width);

	margin-left: auto !important;
	margin-right: auto !important;
}

/* Circle around blue div *//*
.nesk-highlight__inner::after {
	content: "";

	position: absolute;

	top: -3rem;
	right: 18%;

	width: clamp(7rem, 14vw, 12rem);
	height: clamp(7rem, 14vw, 12rem);

	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 50%;

	pointer-events: none;
}*/

.nesk-highlight__content {
	position: relative;
	z-index: 1;

	max-width: 850px;
}

.nesk-highlight__eyebrow {
	display: flex;
	align-items: center;
	gap: 0.8rem;

	margin: 0 0 1.5rem;

	color: var(--wp--preset--color--accent);

	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1.2;

	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.nesk-highlight__eyebrow::before {
	content: "";

	display: block;

	width: 2.75rem;
	height: 1px;

	flex: 0 0 auto;

	background: currentColor;
}

.nesk-highlight__title {
	max-width: 850px;

	margin-top: 0;
	margin-bottom: 1.75rem;

	color: #fff;

	font-size: clamp(2.75rem, 5.2vw, 5rem);
	line-height: 0.96;
	letter-spacing: -0.055em;
}

.nesk-highlight__text {
	max-width: 700px;

	margin: 0;

	color: rgba(255, 255, 255, 0.78);

	font-size: clamp(1.05rem, 1.35vw, 1.2rem);
	line-height: 1.75;
}

.nesk-highlight__actions {
	position: relative;
	z-index: 1;

	display: flex;

	justify-content: flex-end;
	align-items: flex-end;

	margin: 0;
}

.nesk-highlight__actions .wp-block-button {
	margin: 0;
}

.nesk-highlight__actions .wp-element-button {
	padding: 1rem 1.6rem;

	background: transparent;
	color: #fff;

	border: 1px solid rgba(255, 255, 255, 0.7);

	font-weight: 700;

	box-shadow: none;
}

.nesk-highlight__actions .wp-element-button:hover {
	background: #fff;
	color: var(--wp--preset--color--primary);

	border-color: #fff;
}


/* ==========================================================
   CTA – PRIMARY
   ========================================================== */

.nesk-cta {
    position: relative;

    padding-top: clamp(3rem, 5vw, 5rem);
    padding-bottom: clamp(3rem, 5vw, 5rem);

    background: var(--wp--preset--color--surface);
}

.nesk-cta__inner {
	position: relative;

	display: grid;

	grid-template-columns:
		minmax(0, 1.4fr)
		minmax(220px, 0.6fr);

	gap: clamp(3rem, 8vw, 8rem);
	align-items: center;

	box-sizing: border-box;

	width: calc(100% - 64px);
	max-width: var(--nesk-modern-content-width);

	margin-left: auto !important;
	margin-right: auto !important;

	padding-top: clamp(2.5rem, 4vw, 4rem);

	border-top: 1px solid var(--nesk-modern-line);
}


/* ----------------------------------------------------------
   CTA – content
   ---------------------------------------------------------- */

.nesk-cta__content {
	max-width: 900px;
}

.nesk-cta__eyebrow {
	display: flex;
	align-items: center;
	gap: 0.8rem;

	margin: 0 0 1.5rem;

	color: var(--wp--preset--color--accent);

	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1.2;

	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.nesk-cta__eyebrow::before {
	content: "";

	display: block;

	width: 2.75rem;
	height: 1px;

	flex: 0 0 auto;

	background: currentColor;
}

.nesk-cta__title {
	max-width: 900px;

	margin-top: 0;
	margin-bottom: 1.75rem;

	font-size: clamp(3rem, 5.6vw, 5.5rem);
	line-height: 0.95;
	letter-spacing: -0.06em;
}

.nesk-cta__text {
	max-width: 680px;

	margin: 0;

	color: var(--wp--preset--color--muted);

	font-size: clamp(1.05rem, 1.35vw, 1.2rem);
	line-height: 1.75;
}


/* ----------------------------------------------------------
   CTA – actions
   ---------------------------------------------------------- */

.nesk-cta__actions {
	display: flex;

	justify-content: flex-end;
	align-items: flex-end;

	margin: 0;
}

.nesk-cta__actions .wp-block-button {
	margin: 0;
}

.nesk-cta__button .wp-element-button {
    position: relative;
    min-width: 220px;
    padding: 1.3rem 2rem;
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
}

.nesk-cta__button .wp-element-button::after {
	content: "→";

	display: inline-block;

	margin-left: 0.8rem;

	transition: transform var(--nesk-modern-transition);
}

.nesk-cta__button .wp-element-button:hover::after {
	transform: translateX(0.3rem);
}


/* ==========================================================
   HERO – PAGE
   ========================================================== */

.nesk-page-hero {
    position: relative;

    padding-top: clamp(3rem, 5vw, 5rem);
    padding-bottom: clamp(3rem, 5vw, 5rem);
}

.nesk-page-hero__inner {
	display: grid;

	grid-template-columns:
		minmax(0, 1.25fr)
		minmax(300px, 0.75fr);

	grid-template-areas:
		"eyebrow eyebrow"
		"title lead";

	column-gap: clamp(4rem, 9vw, 10rem);
	row-gap: clamp(1.5rem, 3vw, 2.5rem);
	align-items: end;

	box-sizing: border-box;

	width: calc(100% - 64px);
	max-width: var(--nesk-modern-content-width);

	margin-left: auto !important;
	margin-right: auto !important;

	padding-bottom: clamp(3rem, 5vw, 5rem);

	border-bottom: 1px solid var(--nesk-modern-line);
}

.nesk-page-hero__eyebrow {
	grid-area: eyebrow;

	display: flex;
	align-items: center;
	gap: 0.8rem;

	margin: 0;

	color: var(--wp--preset--color--accent);

	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1.2;

	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.nesk-page-hero__eyebrow::before {
	content: "";

	display: block;

	width: 2.75rem;
	height: 1px;

	flex: 0 0 auto;

	background: currentColor;
}

.nesk-page-hero__title {
	grid-area: title;

	max-width: 850px;

	margin: 0;

	font-size: clamp(3.5rem, 6vw, 6rem);
	line-height: 0.95;
	letter-spacing: -0.06em;

	text-wrap: balance;
}

.nesk-page-hero__lead {
	grid-area: lead;

	max-width: 480px;

	margin: 0;
	padding-bottom: 0.35rem;

	color: var(--wp--preset--color--muted);

	font-size: clamp(1.05rem, 1.4vw, 1.25rem);
	line-height: 1.75;
}


/* ==========================================================
   CONTACT – PRIMARY
   ========================================================== */

.nesk-contact {
	position: relative;

	padding-top: clamp(1.5rem, 3vw, 3rem);
	padding-bottom: var(--nesk-modern-space);
}

.nesk-contact__inner {
	display: grid;

	grid-template-columns:
		minmax(280px, 0.8fr)
		minmax(0, 1.2fr);

	gap: 0;
	align-items: start;

	box-sizing: border-box;

	width: calc(100% - 64px);
	max-width: var(--nesk-modern-content-width);

	margin-left: auto !important;
	margin-right: auto !important;

	border-top: 1px solid var(--nesk-modern-line);
	border-bottom: 1px solid var(--nesk-modern-line);
}


/* ----------------------------------------------------------
   Contact – information
   ---------------------------------------------------------- */

.nesk-contact__info {
	box-sizing: border-box;

	min-width: 0;

	padding:
		clamp(3rem, 5vw, 5rem)
		clamp(3rem, 6vw, 6rem)
		clamp(3rem, 5vw, 5rem)
		0;
}

.nesk-contact__eyebrow,
.nesk-contact__form-eyebrow {
	display: flex;
	align-items: center;
	gap: 0.8rem;

	margin: 0 0 1.5rem;

	color: var(--wp--preset--color--accent);

	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1.2;

	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.nesk-contact__eyebrow::before,
.nesk-contact__form-eyebrow::before {
	content: "";

	display: block;

	width: 2.75rem;
	height: 1px;

	flex: 0 0 auto;

	background: currentColor;
}

.nesk-contact__title {
	max-width: 600px;

	margin-top: 0;
	margin-bottom: 1.75rem;

	font-size: clamp(3rem, 5vw, 5rem);
	line-height: 0.96;
	letter-spacing: -0.055em;
}

.nesk-contact__text {
	max-width: 520px;

	margin-top: 0;
	margin-bottom: clamp(3rem, 5vw, 5rem);

	color: var(--wp--preset--color--muted);

	font-size: clamp(1.05rem, 1.3vw, 1.18rem);
	line-height: 1.75;
}


/* ----------------------------------------------------------
   Contact – details
   ---------------------------------------------------------- */

.nesk-contact__details {
	width: 100%;

	border-top: 1px solid var(--nesk-modern-line);
}

.nesk-contact__detail {
	display: grid;

	grid-template-columns: minmax(90px, 0.35fr) minmax(0, 1fr);

	gap: 1.5rem;
	align-items: baseline;

	padding: 1.4rem 0;

	border-bottom: 1px solid var(--nesk-modern-line);
}

.nesk-contact__label {
	margin: 0;

	color: var(--wp--preset--color--muted);

	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1.3;

	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.nesk-contact__value {
	margin: 0;

	font-size: clamp(1.05rem, 1.4vw, 1.2rem);
	line-height: 1.5;
}

.nesk-contact__value a {
	color: var(--wp--preset--color--primary);

	font-weight: 700;

	text-decoration: none;
}

.nesk-contact__value a:hover {
	text-decoration: underline;
	text-underline-offset: 0.25em;
}


/* ----------------------------------------------------------
   Contact – form
   ---------------------------------------------------------- */

.nesk-contact__form {
	box-sizing: border-box;

	min-width: 0;

	padding:
		clamp(3rem, 5vw, 5rem)
		0
		clamp(3rem, 5vw, 5rem)
		clamp(3rem, 6vw, 6rem);

	border-left: 1px solid var(--nesk-modern-line);
}

.nesk-contact__form-title {
	max-width: 600px;

	margin-top: 0;
	margin-bottom: 2.5rem;

	font-size: clamp(2rem, 3.2vw, 3.25rem);
	line-height: 1;
	letter-spacing: -0.045em;
}

.nesk-contact__form-area {
	width: 100%;
	max-width: 680px;
}


/* ----------------------------------------------------------
   Contact – WPForms
   ---------------------------------------------------------- */

.nesk-contact .wpforms-container {
	margin: 0 !important;
}

.nesk-contact .wpforms-container .wpforms-field {
	padding-top: 0;
	padding-bottom: 1.5rem;
}

.nesk-contact .wpforms-container .wpforms-field-label {
	margin-bottom: 0.6rem;

	color: var(--wp--preset--color--primary);

	font-size: 0.82rem;
	font-weight: 700;
	line-height: 1.3;

	letter-spacing: 0.04em;
}

.nesk-contact .wpforms-container input[type="text"],
.nesk-contact .wpforms-container input[type="email"],
.nesk-contact .wpforms-container input[type="tel"],
.nesk-contact .wpforms-container input[type="url"],
.nesk-contact .wpforms-container input[type="number"],
.nesk-contact .wpforms-container select,
.nesk-contact .wpforms-container textarea {
	box-sizing: border-box;

	width: 100%;
	max-width: none;

	padding: 0.9rem 0;

	background: transparent;

	color: var(--wp--preset--color--primary);

	border: 0;
	border-bottom: 1px solid var(--nesk-modern-line);
	border-radius: 0;

	box-shadow: none;

	font: inherit;

	transition: border-color var(--nesk-modern-transition);
}

.nesk-contact .wpforms-container input[type="text"]:focus,
.nesk-contact .wpforms-container input[type="email"]:focus,
.nesk-contact .wpforms-container input[type="tel"]:focus,
.nesk-contact .wpforms-container input[type="url"]:focus,
.nesk-contact .wpforms-container input[type="number"]:focus,
.nesk-contact .wpforms-container select:focus,
.nesk-contact .wpforms-container textarea:focus {
	outline: none;

	border-bottom-color: var(--wp--preset--color--accent);

	box-shadow: none;
}

.nesk-contact .wpforms-container textarea {
	min-height: 150px;

	resize: vertical;
}

.nesk-contact .wpforms-container .wpforms-submit-container {
	padding-top: 1rem;
}

.nesk-contact .wpforms-container button[type="submit"],
.nesk-contact .wpforms-container .wpforms-submit {
	min-width: 170px;

	padding: 1rem 1.6rem !important;

	background: var(--wp--preset--color--primary) !important;
	color: #fff !important;

	border: 1px solid var(--wp--preset--color--primary) !important;
	border-radius: var(--nesk-modern-radius-sm) !important;

	font-weight: 700 !important;

	box-shadow: none !important;

	transition:
		transform var(--nesk-modern-transition),
		background-color var(--nesk-modern-transition) !important;
}

.nesk-contact .wpforms-container button[type="submit"]:hover,
.nesk-contact .wpforms-container .wpforms-submit:hover {
	transform: translateY(-2px);

	background: transparent !important;
	color: var(--wp--preset--color--primary) !important;
}


/* ----------------------------------------------------------
   Generic Modern section helpers
   ---------------------------------------------------------- */

.nesk-section {
	padding-top: var(--nesk-modern-space);
	padding-bottom: var(--nesk-modern-space);
}

.nesk-section--small {
	padding-top: var(--nesk-modern-space-small);
	padding-bottom: var(--nesk-modern-space-small);
}


/* ==========================================================
   CONTENT – ARTICLE
   ========================================================== */

.nesk-article {
	position: relative;

	padding-top: var(--nesk-modern-space);
	padding-bottom: var(--nesk-modern-space);
}

.nesk-article__inner {
	box-sizing: border-box;

	width: calc(100% - 64px);
	max-width: 860px;

	margin-left: auto !important;
	margin-right: auto !important;

	padding-top: clamp(2.5rem, 4vw, 4rem);

	border-top: 1px solid var(--nesk-modern-line);
}

.nesk-article__inner > * {
	max-width: 760px;
}

.nesk-article__inner h2 {
	margin-top: 0;
	margin-bottom: 2rem;

	font-size: clamp(2.75rem, 5vw, 4.75rem);
	line-height: 0.98;
	letter-spacing: -0.055em;
}

.nesk-article__inner h3 {
	margin-top: clamp(3rem, 5vw, 4.5rem);
	margin-bottom: 1.25rem;

	font-size: clamp(1.65rem, 2.8vw, 2.4rem);
	line-height: 1.05;
	letter-spacing: -0.035em;
}

.nesk-article__inner p,
.nesk-article__inner li {
	color: var(--wp--preset--color--muted);

	font-size: clamp(1.05rem, 1.25vw, 1.15rem);
	line-height: 1.8;
}

.nesk-article__inner p {
	margin-top: 0;
	margin-bottom: 1.5rem;
}

.nesk-article__inner ul,
.nesk-article__inner ol {
	margin-top: 1.5rem;
	margin-bottom: 2rem;

	padding-left: 1.4rem;
}

.nesk-article__inner li {
	margin-bottom: 0.65rem;
}

.nesk-article__inner li::marker {
	color: var(--wp--preset--color--accent);
}

.nesk-article__inner a {
	color: var(--wp--preset--color--primary);

	font-weight: 700;
}

.nesk-article__inner blockquote {
	margin: clamp(2.5rem, 5vw, 4rem) 0;

	padding: 0 0 0 1.75rem;

	border-left: 2px solid var(--wp--preset--color--accent);
}

.nesk-article__inner blockquote p {
	color: var(--wp--preset--color--primary);

	font-size: clamp(1.3rem, 2vw, 1.65rem);
	line-height: 1.5;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 900px) {

	/* Hero */

	.nesk-hero .nesk-hero__grid {
		grid-template-columns: 1fr;

		width: calc(100% - 64px);

		gap: 3.5rem;
	}

	.nesk-hero__content {
		max-width: 760px;
	}

	.nesk-hero__title {
		max-width: 760px;

		font-size: clamp(3.5rem, 10vw, 5.5rem);
	}

	.nesk-hero__media {
		width: min(100%, 680px);
	}

	.nesk-hero__image img {
		aspect-ratio: 16 / 10;
	}

	.nesk-hero__media::before {
		top: -1.5rem;
		right: -1.5rem;
	}


	/* Services */

	.nesk-services__inner {
		width: calc(100% - 64px);
	}

	.nesk-services__grid,
	.nesk-services__grid:has(> .nesk-service-card:nth-child(2):last-child),
	.nesk-services__grid:has(> .nesk-service-card:nth-child(4):last-child) {
		grid-template-columns: 1fr;
	}

	.nesk-service-card {
		min-height: 0;

		padding: 2.5rem 0;
	}

	.nesk-service-card + .nesk-service-card {
		border-left: 0;
		border-top: 1px solid var(--nesk-modern-line);
	}

	.nesk-services__grid:has(> .nesk-service-card:nth-child(4):last-child)
		> .nesk-service-card:nth-child(3) {
		border-top: 1px solid var(--nesk-modern-line);
	}

	.nesk-service-card::before {
		margin-bottom: 2.5rem;
	}

	.nesk-service-card__text {
		max-width: 620px;
	}

	.nesk-services__grid > .nesk-service-card:only-child {
		padding-right: 0;
	}


	/* Content Split */

	.nesk-content-split__inner,
	.nesk-content-split--reverse .nesk-content-split__inner {
		grid-template-columns: 1fr;

		width: calc(100% - 64px);

		gap: 3.5rem;
	}

	.nesk-content-split__content,
	.nesk-content-split--reverse .nesk-content-split__content {
		order: 1;

		max-width: 720px;

		justify-self: start;
	}

	.nesk-content-split__media,
	.nesk-content-split--reverse .nesk-content-split__media {
		order: 2;

		width: min(100%, 680px);
	}

	.nesk-content-split__media .wp-block-image img {
		aspect-ratio: 16 / 11;
	}

	.nesk-content-split__media::after {
		left: -1rem;
		bottom: -1rem;
	}

	.nesk-content-split--reverse .nesk-content-split__media::after {
		left: auto;
		right: -1rem;
	}


	/* Content Text */

	.nesk-content-text__inner {
		grid-template-columns: 1fr;
		grid-template-areas:
			"eyebrow"
			"title"
			"body";

		width: calc(100% - 64px);

		row-gap: 1.75rem;
	}

	.nesk-content-text__title {
		max-width: 760px;
	}

	.nesk-content-text__body {
		max-width: 680px;

		padding-top: 0.5rem;
	}


	/* Features */

	.nesk-features__inner {
		grid-template-columns: 1fr;

		width: calc(100% - 64px);

		gap: 3.5rem;
	}

	.nesk-features__intro {
		max-width: 720px;
	}

	.nesk-features__grid {
		max-width: 760px;
	}


	/* Highlight */

	.nesk-highlight__inner {
		grid-template-columns: 1fr;

		width: calc(100% - 64px);

		gap: 2.5rem;
	}

	.nesk-highlight__actions {
		justify-content: flex-start;
	}

    /* Circle around blue div *//*
	.nesk-highlight__inner::after {
		right: 5%;
	}*/


	/* CTA */

	.nesk-cta__inner {
		grid-template-columns: 1fr;

		width: calc(100% - 64px);

		gap: 2.5rem;
	}

	.nesk-cta__actions {
		justify-content: flex-start;
	}


	/* Page Hero */

	.nesk-page-hero__inner {
		grid-template-columns: 1fr;

		grid-template-areas:
			"eyebrow"
			"title"
			"lead";

		width: calc(100% - 64px);

		row-gap: 1.75rem;
		align-items: start;
	}

	.nesk-page-hero__title {
		max-width: 800px;

		font-size: clamp(3.5rem, 10vw, 5.5rem);
	}

	.nesk-page-hero__lead {
		max-width: 680px;

		padding-bottom: 0;
	}


	/* Article */

	.nesk-article__inner {
		width: calc(100% - 64px);
		max-width: 760px;
	}

	/* Contact */

	.nesk-contact__inner {
		grid-template-columns: 1fr;

		width: calc(100% - 64px);
	}

	.nesk-contact__info {
		padding: 3.5rem 0;
	}

	.nesk-contact__form {
		padding: 3.5rem 0;

		border-left: 0;
		border-top: 1px solid var(--nesk-modern-line);
	}

	.nesk-contact__info,
	.nesk-contact__form-area {
		max-width: 720px;
	}
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 600px) {

	/* Hero */

	.nesk-hero--split {
		padding-top: 3rem;
		padding-bottom: 4rem;
	}

	.nesk-hero .nesk-hero__grid {
		width: calc(100% - 40px);

		gap: 2.75rem;
	}

	.nesk-hero__eyebrow {
		margin-bottom: 1.25rem;

		font-size: 0.72rem;
	}

	.nesk-hero__eyebrow::before {
		width: 2rem;
	}

    .nesk-hero__title {
        margin-bottom: 1.5rem;

        font-size: clamp(2.5rem, 11vw, 3.5rem);
        line-height: 1.02;
        letter-spacing: -0.045em;
    }

	.nesk-hero__lead {
		margin-bottom: 2rem;

		font-size: 1.05rem;
	}

	.nesk-hero__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.nesk-hero__actions .wp-block-button,
	.nesk-hero__actions .wp-element-button {
		width: 100%;
	}

	.nesk-hero__actions .wp-element-button {
		box-sizing: border-box;

		text-align: center;
	}

	.nesk-hero__media {
		width: 100%;
	}

	.nesk-hero__media::before {
		top: -1rem;
		right: -1rem;

		width: 65%;
		height: 55%;
	}

	.nesk-hero__image img {
		aspect-ratio: 4 / 5;
	}


	/* Services */

	.nesk-services {
		padding-top: 4.5rem;
		padding-bottom: 4.5rem;
	}

	.nesk-services__inner {
		width: calc(100% - 40px);
	}

	.nesk-services__intro {
		margin-bottom: 3rem;
	}

	.nesk-services__eyebrow {
		margin-bottom: 1.25rem;

		font-size: 0.72rem;
	}

	.nesk-services__eyebrow::before {
		width: 2rem;
	}

	.nesk-services__title {
		font-size: clamp(2rem, 8vw, 2.6rem);
        overflow-wrap: anywhere;
	}

	.nesk-service-card {
		padding-top: 2rem;
		padding-bottom: 2rem;
	}

	.nesk-service-card::before {
		margin-bottom: 2rem;
	}

	.nesk-service-card__title {
		font-size: 1.55rem;
	}

	.nesk-service-card__text {
		margin-bottom: 1.5rem;
	}


	/* Content Split */

	.nesk-content-split {
		padding-top: 3rem;
		padding-bottom: 3rem;
	}

	.nesk-content-split__inner,
	.nesk-content-split--reverse .nesk-content-split__inner {
		width: calc(100% - 40px);

		gap: 2.75rem;
	}

	.nesk-content-split__eyebrow {
		margin-bottom: 1.25rem;

		font-size: 0.72rem;
	}

	.nesk-content-split__eyebrow::before {
		width: 2rem;
	}

	.nesk-content-split__title {
		margin-bottom: 1.5rem;

		font-size: clamp(2.4rem, 12vw, 3.5rem);
	}

	.nesk-content-split__text {
		font-size: 1rem;
	}

	.nesk-content-split__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.nesk-content-split__actions .wp-block-button,
	.nesk-content-split__actions .wp-element-button {
		width: 100%;
	}

	.nesk-content-split__actions .wp-element-button {
		box-sizing: border-box;

		text-align: center;
	}

	.nesk-content-split__media .wp-block-image img {
		aspect-ratio: 4 / 5;
	}

	.nesk-content-split__media::after {
		left: -0.75rem;
		bottom: -0.75rem;

		width: 45%;
		height: 32%;
	}

	.nesk-content-split--reverse .nesk-content-split__media::after {
		left: auto;
		right: -0.75rem;
	}


	/* Content Text */

	.nesk-content-text {
		padding-top: 4.5rem;
		padding-bottom: 4.5rem;
	}

	.nesk-content-text__inner {
		width: calc(100% - 40px);

		padding-top: 2.5rem;

		row-gap: 1.5rem;
	}

	.nesk-content-text__eyebrow {
		font-size: 0.72rem;
	}

	.nesk-content-text__eyebrow::before {
		width: 2rem;
	}

	.nesk-content-text__title {
		font-size: clamp(2.4rem, 12vw, 3.5rem);
	}

	.nesk-content-text__body {
		padding-top: 0.25rem;
	}

	.nesk-content-text__body p {
		font-size: 1rem;
		line-height: 1.75;
	}


	/* Features */

	.nesk-features {
		padding-top: 4.5rem;
		padding-bottom: 4.5rem;
	}

	.nesk-features__inner {
		width: calc(100% - 40px);

		gap: 2.75rem;
	}

	.nesk-features__eyebrow {
		margin-bottom: 1.25rem;

		font-size: 0.72rem;
	}

	.nesk-features__eyebrow::before {
		width: 2rem;
	}

	.nesk-features__title {
		margin-bottom: 1.5rem;

		font-size: clamp(2.4rem, 12vw, 3.5rem);
	}

	.nesk-features__lead {
		font-size: 1rem;
	}

	.nesk-features__grid {
		grid-template-columns: 1fr;
	}

	.nesk-features__item {
		min-height: 0;

		padding: 2rem 0;
	}

	.nesk-features__item:nth-child(even) {
		border-left: 0;
	}

	.nesk-features__item:nth-child(n+2) {
		border-top: 1px solid var(--nesk-modern-line);
	}

	.nesk-features__item::before {
		margin-bottom: 2rem;
	}

	.nesk-features__item-title {
		font-size: 1.55rem;
	}


	/* Highlight */

	.nesk-highlight {
		padding-top: 4.5rem;
		padding-bottom: 4.5rem;
	}

	.nesk-highlight__inner {
		width: calc(100% - 40px);

		gap: 2rem;
	}

	.nesk-highlight__eyebrow {
		margin-bottom: 1.25rem;

		font-size: 0.72rem;
	}

	.nesk-highlight__eyebrow::before {
		width: 2rem;
	}

	.nesk-highlight__title {
		margin-bottom: 1.5rem;

		font-size: clamp(2.4rem, 12vw, 3.5rem);
	}

	.nesk-highlight__text {
		font-size: 1rem;
	}

	.nesk-highlight__actions {
		align-items: stretch;
	}

	.nesk-highlight__actions .wp-block-button,
	.nesk-highlight__actions .wp-element-button {
		width: 100%;
	}

	.nesk-highlight__actions .wp-element-button {
		box-sizing: border-box;

		text-align: center;
	}

	.nesk-highlight__inner::after {
		top: -1.5rem;
		right: -2rem;

		width: 8rem;
		height: 8rem;
	}


	/* CTA */

	.nesk-cta {
		padding-top: 3rem;
		padding-bottom: 3rem;
	}

	.nesk-cta__inner {
		width: calc(100% - 40px);

		padding-top: 2.5rem;

		gap: 2rem;
	}

	.nesk-cta__eyebrow {
		margin-bottom: 1.25rem;

		font-size: 0.72rem;
	}

	.nesk-cta__eyebrow::before {
		width: 2rem;
	}

	.nesk-cta__title {
		margin-bottom: 1.5rem;

		font-size: clamp(2.5rem, 12vw, 3.75rem);
		line-height: 0.98;
	}

	.nesk-cta__text {
		font-size: 1rem;
	}

	.nesk-cta__actions {
		align-items: stretch;
	}

	.nesk-cta__actions .wp-block-button,
	.nesk-cta__actions .wp-element-button {
		width: 100%;
	}

	.nesk-cta__actions .wp-element-button {
		box-sizing: border-box;

		text-align: center;
	}


	/* Page Hero */

	.nesk-page-hero {
		padding-top: 3rem;
		padding-bottom: 3rem;
	}

	.nesk-page-hero__inner {
		width: calc(100% - 40px);

		padding-bottom: 3rem;

		row-gap: 1.5rem;
	}

	.nesk-page-hero__eyebrow {
		font-size: 0.72rem;
	}

	.nesk-page-hero__eyebrow::before {
		width: 2rem;
	}

	.nesk-page-hero__title {
        font-size: clamp(2rem, 8vw, 2.6rem);
        line-height: 1.08;
        overflow-wrap: anywhere;
	}

	.nesk-page-hero__lead {
		font-size: 1rem;
		line-height: 1.7;
	}


	/* Article */

	.nesk-article {
		padding-top: 4.5rem;
		padding-bottom: 4.5rem;
	}

	.nesk-article__inner {
		width: calc(100% - 40px);

		padding-top: 2.5rem;
	}

	.nesk-article__inner h2 {
		margin-bottom: 1.5rem;

		font-size: clamp(2.4rem, 12vw, 3.5rem);
	}

	.nesk-article__inner h3 {
		margin-top: 2.75rem;

		font-size: clamp(1.6rem, 8vw, 2.1rem);
	}

	.nesk-article__inner p,
	.nesk-article__inner li {
		font-size: 1rem;
		line-height: 1.75;
	}

	/* Contact */

	.nesk-contact {
		padding-top: 4.5rem;
		padding-bottom: 4.5rem;
	}

	.nesk-contact__inner {
		width: calc(100% - 40px);
	}

	.nesk-contact__info,
	.nesk-contact__form {
		padding-top: 2.75rem;
		padding-bottom: 2.75rem;
	}

	.nesk-contact__eyebrow,
	.nesk-contact__form-eyebrow {
		margin-bottom: 1.25rem;

		font-size: 0.72rem;
	}

	.nesk-contact__eyebrow::before,
	.nesk-contact__form-eyebrow::before {
		width: 2rem;
	}

	.nesk-contact__title {
		margin-bottom: 1.5rem;

		font-size: clamp(2.5rem, 13vw, 3.75rem);
	}

	.nesk-contact__text {
		margin-bottom: 2.5rem;

		font-size: 1rem;
	}

	.nesk-contact__detail {
		grid-template-columns: 1fr;

		gap: 0.4rem;

		padding: 1.25rem 0;
	}

	.nesk-contact__form-title {
		margin-bottom: 2rem;

		font-size: clamp(2rem, 10vw, 2.75rem);
	}

	.nesk-contact .wpforms-container button[type="submit"],
	.nesk-contact .wpforms-container .wpforms-submit {
		box-sizing: border-box;

		width: 100%;
	}
}

/* ==========================================================
   Modern – Header and footer spacing
   ========================================================== */

@media (max-width: 900px) {

    .nesk-header__inner,
    .nesk-footer__inner {
        box-sizing: border-box;
        padding-left: 32px;
        padding-right: 32px;
    }

}

@media (max-width: 600px) {

    .nesk-header__inner,
    .nesk-footer__inner {
        padding-left: 20px;
        padding-right: 20px;
    }

}

/* ==========================================================
   Modern – Services mobile spacing
   ========================================================== */

@media (max-width: 600px) {

    .nesk-services__grid {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .nesk-services__grid > .wp-block-column {
        flex-basis: auto !important;
        width: 100%;
        margin: 0;
        padding: 24px 0;
    }

    .nesk-services__grid > .wp-block-column + .wp-block-column {
        border-top: 1px solid var(--nesk-modern-line);
    }

    .nesk-services__grid .nesk-service-card {
        width: 100%;
        margin: 0;
    }

    .nesk-services__grid .nesk-service-card__title {
        margin-bottom: 12px;
    }

}

/* ==========================================================
   Modern – Features mobile spacing
   ========================================================== */

@media (max-width: 600px) {

    .nesk-features__grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .nesk-features__item {
        min-width: 0;
        padding: 24px 0;
        margin: 0;
    }

    .nesk-features__item + .nesk-features__item {
        border-top: 1px solid var(--nesk-modern-line);
    }

    .nesk-features__item-title {
        margin-top: 0;
        margin-bottom: 12px;
    }

    .nesk-features__item p:last-child {
        margin-bottom: 0;
    }

}

/* ==========================================================
   Modern – Responsive navigation (tablet and mobile)
   ========================================================== */

/* Keep comfortable spacing when the desktop navigation is visible. */
@media (min-width: 1025px) {
    .nesk-header .wp-block-navigation__container {
        column-gap: 24px;
        row-gap: 12px;
    }

    /* Allow submenu labels to stay on one line. */
    .nesk-header .wp-block-navigation__submenu-container {
        width: max-content;
        min-width: 220px;
    }

    .nesk-header .wp-block-navigation__submenu-container
    .wp-block-navigation-item__content {
        white-space: nowrap;
    }
}

@media (max-width: 1024px) {
    /* WordPress normally switches the overlay at its own breakpoint.
       Force the same behavior on tablets without changing the block. */
    .nesk-header .wp-block-navigation__responsive-container:not(.is-menu-open) {
        display: none !important;
    }

    .nesk-header .wp-block-navigation__responsive-container-open {
        display: flex !important;
    }

    .nesk-header__inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
    }

    .nesk-header .wp-block-navigation {
        flex-shrink: 0;
    }

    .nesk-header .wp-block-navigation__responsive-container-open {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        padding: 10px;
        border: 0;
        border-radius: 4px;
        background: transparent;
        color: var(--wp--preset--color--primary, #17324d);
        cursor: pointer;
    }

    /* Equal-length hamburger lines replace the WordPress SVG. */
    .nesk-header .wp-block-navigation__responsive-container-open svg {
        display: none;
    }

    .nesk-header .wp-block-navigation__responsive-container-open::before {
        content: "";
        display: block;
        width: 24px;
        height: 16px;
        background:
            linear-gradient(currentColor, currentColor) 0 0 / 24px 2px no-repeat,
            linear-gradient(currentColor, currentColor) 0 7px / 24px 2px no-repeat,
            linear-gradient(currentColor, currentColor) 0 14px / 24px 2px no-repeat;
    }

    .nesk-header .wp-block-navigation__responsive-container.is-menu-open {
        box-sizing: border-box;
        width: 100%;
        max-width: 100vw;
        padding: 24px 20px;
        overflow-x: hidden;
    }

    .nesk-header .wp-block-navigation__responsive-container-close {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        top: 12px;
        right: 12px;
        color: var(--wp--preset--color--primary, #17324d);
    }

    .nesk-header .wp-block-navigation__responsive-container-content {
        box-sizing: border-box;
        width: 100%;
        padding-top: 56px;
    }

    .nesk-header .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__container {
        --navigation-layout-justification-setting: flex-start;
        --navigation-layout-justify: flex-start;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        width: 100%;
        gap: 16px;
    }

    .nesk-header .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation-item {
        max-width: 100%;
        align-items: flex-start;
        text-align: left;
    }

    .nesk-header .wp-block-navigation-item__content {
        white-space: normal;
        overflow-wrap: anywhere;
        text-align: left;
    }

    .nesk-header .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__submenu-container {
        position: static;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        width: 100%;
        margin: 8px 0 4px;
        padding: 0 0 0 16px;
        gap: 10px;
        text-align: left;
    }

    .nesk-header .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__submenu-container .wp-block-navigation-item {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .nesk-header .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
        padding: 4px 0;
        text-align: left;
    }
}


/* ==========================================================
   Modern – Footer
   ========================================================== */

.nesk-footer {
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: clamp(2.5rem, 5vw, 4.5rem) 0;
    border-top: 1px solid var(--nesk-modern-line);
    background: var(--wp--preset--color--surface, #f5f6f7);
}

.nesk-footer .nesk-footer__inner {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
    gap: clamp(2rem, 6vw, 6rem);
    align-items: start;

    width: 100%;
    max-width: var(--nesk-modern-content-width);
    min-height: 0;

    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 32px;
}

.nesk-footer__main,
.nesk-footer__bottom {
    min-width: 0;
}

.nesk-footer__bottom {
    text-align: right;
}

.nesk-footer__inner .wp-block-site-title {
    margin: 0;
    font-size: clamp(1.25rem, 2vw, 1.65rem);
    font-weight: 750;
    line-height: 1.2;
    letter-spacing: -0.035em;
}

.nesk-footer__inner .wp-block-site-title a {
    color: var(--wp--preset--color--primary, #17324d);
    text-decoration: none;
}

.nesk-footer__inner > p {
    margin: 0;
    color: var(--wp--preset--color--muted, #586674);
    font-size: 0.9rem;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .nesk-footer .nesk-footer__inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .nesk-footer__bottom {
        text-align: left;
    }
}

@media (max-width: 600px) {
    .nesk-footer .nesk-footer__inner {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* ==========================================================
   Modern – consistent mobile content gutters
   Full-width section backgrounds remain edge-to-edge.
   ========================================================== */
@media (max-width: 600px) {
    :root { --nesk-mobile-gutter: 20px; }

    .nesk-main > .wp-block-heading,
    .nesk-main > .wp-block-post-title,
    .nesk-hero .nesk-hero__grid,
    .nesk-services .nesk-services__inner,
    .nesk-content-split .nesk-content-split__inner,
    .nesk-content-text .nesk-content-text__inner,
    .nesk-features .nesk-features__inner,
    .nesk-highlight .nesk-highlight__inner,
    .nesk-cta .nesk-cta__inner,
    .nesk-page-hero .nesk-page-hero__inner,
    .nesk-contact .nesk-contact__inner,
    .nesk-article .nesk-article__inner {
        box-sizing: border-box;
        width: calc(100% - 2 * var(--nesk-mobile-gutter));
        max-width: none;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .nesk-header .nesk-header__inner,
    .nesk-footer .nesk-footer__inner {
        box-sizing: border-box;
        width: 100%;
        padding-left: var(--nesk-mobile-gutter);
        padding-right: var(--nesk-mobile-gutter);
    }

    .nesk-services__grid,
    .nesk-services__grid > .wp-block-column,
    .nesk-service-card,
    .nesk-contact__form-area,
    .nesk-contact .wpforms-container {
        min-width: 0;
        max-width: 100%;
    }
}

/* ==========================================================
   PRICING – FLEXIBLE
   Independent Gutenberg pattern, 1–N cards
   ========================================================== */

.nesk-pricing {
    padding-top: clamp(2rem, 4vw, 4rem);
    padding-bottom: var(--nesk-modern-space);
}
.nesk-pricing__inner {
    box-sizing: border-box;
    width: calc(100% - 64px);
    max-width: var(--nesk-modern-content-width);
    margin-inline: auto !important;
}
.nesk-pricing__intro {
    max-width: 900px;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.nesk-pricing__eyebrow {
    display: flex;
    align-items: center;
    gap: .8rem;
    margin: 0 0 1.4rem;
    color: var(--wp--preset--color--accent);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.nesk-pricing__eyebrow::before {
    content: "";
    width: 2.75rem;
    height: 1px;
    background: currentColor;
}
.nesk-pricing__title {
    margin: 0 0 1.25rem;
    font-size: clamp(2.5rem, 5vw, 4.75rem);
    line-height: .98;
    letter-spacing: -.05em;
}
.nesk-pricing__lead {
    max-width: 740px;
    margin: 0;
    color: var(--wp--preset--color--muted);
    line-height: 1.7;
}
.nesk-pricing__grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    align-items: stretch;
}
.nesk-pricing__grid:has(> :only-child) {
    grid-template-columns: minmax(0, 1fr);
    max-width: 600px;
}
.nesk-pricing__grid:has(> :nth-child(2):last-child),
.nesk-pricing__grid:has(> :nth-child(4):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.nesk-pricing__card {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border: 1px solid var(--nesk-modern-line);
    border-radius: var(--nesk-modern-radius-md);
    background: transparent;
}
.nesk-pricing__card-title {
    margin: 0 0 1.5rem;
    font-size: clamp(1.4rem, 2vw, 1.85rem);
    line-height: 1.15;
}
.nesk-pricing__price {
    margin: 0 0 .5rem;
    color: var(--wp--preset--color--primary);
    font-size: clamp(2.25rem, 3.8vw, 3.75rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -.05em;
}
.nesk-pricing__details {
    margin: 0 0 2rem;
    color: var(--wp--preset--color--muted);
    line-height: 1.65;
}
.nesk-pricing__card .wp-block-buttons {
    margin-top: auto;
}
.nesk-pricing__card .wp-block-button__link {
    padding: 1rem 1.5rem;
    font-weight: 700;
}
.nesk-pricing__note {
    max-width: 900px;
    margin: 2rem 0 0;
    color: var(--wp--preset--color--muted);
    font-size: .95rem;
    line-height: 1.7;
}
@media (max-width: 900px) {
    .nesk-pricing__grid,
    .nesk-pricing__grid:has(> :nth-child(4):last-child) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 600px) {
    .nesk-pricing__inner {
        width: calc(100% - 40px);
    }
    .nesk-pricing__grid,
    .nesk-pricing__grid:has(> :nth-child(2):last-child),
    .nesk-pricing__grid:has(> :nth-child(4):last-child) {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ==========================================================
   PIANOSKOLAN – COLOR PROFILE
   ========================================================== */

:root {
    --wp--preset--color--primary: #344B40;
    --wp--preset--color--accent: #B66B61;
    --wp--preset--color--text: #292D2A;
    --wp--preset--color--muted: #58665D;
    --wp--preset--color--background: #FCFBF8;
    --wp--preset--color--surface: #EEE8DE;
    --wp--preset--color--border: #D8C8B3;

    --nesk-modern-line: rgba(52, 75, 64, 0.18);
}

/* ==========================================================
   PIANOSKOLAN – DESIGN TEST 01
   Soft Japanese-inspired editorial style
   ========================================================== */

/* 1. Mjukare rubriktypografi */
.nesk-hero__title,
.nesk-page-hero__title,
.nesk-services__title,
.nesk-content-split__title,
.nesk-cta__title {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    letter-spacing: -0.025em;
    line-height: 1.12;
}

/* 2. Undervisningssektion – ljus sandton */
.nesk-services {
    background-color: #EEE8DE;
}

/* 3. Mjukare knappar */
.wp-block-button__link,
.nesk-hero__actions a,
.nesk-cta a {
    border-radius: 5px;
}

/* 4. Diskret rundade bilder */
.nesk-hero img,
.nesk-content-split img {
    border-radius: 5px;
}

/* 5. Lite mjukare avdelare */
.nesk-services__grid {
    border-color: rgba(52, 75, 64, 0.12);
}

/* 6. Behåll mobilrubrikernas fungerande storlekar */
@media (max-width: 600px) {
    .nesk-services__title,
    .nesk-page-hero__title {
        overflow-wrap: anywhere;
    }
}

/* Pianoskolan – Suzuki section typography */
.nesk-suzuki__title {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    letter-spacing: -0.025em;
    line-height: 1.12;
}

/* Pianoskolan – rubrik i Suzukisektionen */
.nesk-highlight__title {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    letter-spacing: -0.025em;
    line-height: 1.12;
}

/* Pianoskolan – konsekvent rubriktypografi */
body h1,
body h2,
body .wp-block-heading:is(h1, h2) {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    letter-spacing: -0.025em;
    line-height: 1.15;
}

/* Pianoskolan – kontaktformulärets rubrik */
.nesk-contact__form-title {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    letter-spacing: -0.025em;
    line-height: 1.15;
}