@font-face{font-family:'Lato';font-style:normal;font-weight:300;font-display:swap;src:url('../fonts/lato-300-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Lato';font-style:normal;font-weight:300;font-display:swap;src:url('../fonts/lato-300-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Lato';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/lato-400-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Lato';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/lato-400-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Lato';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/lato-700-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Lato';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/lato-700-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Lato';font-style:normal;font-weight:900;font-display:swap;src:url('../fonts/lato-900-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Lato';font-style:normal;font-weight:900;font-display:swap;src:url('../fonts/lato-900-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Lato';font-style:normal;font-weight:300;font-display:swap;src:url('../fonts/notosans-300-cyrillic-ext.woff2') format('woff2');unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;}
@font-face{font-family:'Lato';font-style:normal;font-weight:300;font-display:swap;src:url('../fonts/notosans-300-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Lato';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/notosans-400-cyrillic-ext.woff2') format('woff2');unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;}
@font-face{font-family:'Lato';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/notosans-400-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Lato';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/notosans-700-cyrillic-ext.woff2') format('woff2');unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;}
@font-face{font-family:'Lato';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/notosans-700-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}

/* ==========================================================================
   Niteva — design tokens
   Cyan lead, plum accent, near-black ink. Text contrast is deliberately a step
   stronger than the reference: this site is read, not just looked at.
   ========================================================================== */

:root {
	--brand: #00b0e6;
	--brand-600: #008fc0;
	--brand-700: #0b6f95;
	--brand-800: #0d4d68;
	--brand-025: #f6fcfe;
	--brand-050: #eaf7fd;
	--brand-100: #d2eefa;
	--plum: #7f197f;
	--plum-700: #611461;
	--ink: #171c1f;
	--ink-900: #101315;
	--ink-800: #1d2426;
	--ink-700: #2c363a;
	--muted: #55636a;
	--muted-light: rgba(255, 255, 255, 0.72);
	--line: rgba(16, 19, 21, 0.12);
	--line-soft: rgba(16, 19, 21, 0.07);
	--white: #fff;

	--radius: 16px;
	--radius-lg: 20px;
	--radius-xl: 26px;
	--radius-sm: 10px;
	--pill: 50px;

	--container: 1560px;
	--gutter: 96px;

	--section-y: 128px;
	--header-h: 92px;

	--shadow-xs: 0 1px 2px rgba(16, 19, 21, 0.04), 0 2px 8px rgba(16, 19, 21, 0.05);
	--shadow-sm: 0 2px 4px rgba(16, 19, 21, 0.04), 0 10px 24px rgba(16, 19, 21, 0.07);
	--shadow-md: 0 6px 12px rgba(16, 19, 21, 0.06), 0 24px 48px rgba(16, 19, 21, 0.11);
	--shadow-brand: 0 10px 22px rgba(0, 143, 192, 0.32);

	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);

	--font: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

@media (max-width: 1400px) {
	:root { --gutter: 56px; --section-y: 104px; }
}

@media (max-width: 1100px) {
	:root { --gutter: 40px; --section-y: 88px; --header-h: 82px; }
}

@media (max-width: 720px) {
	:root { --gutter: 20px; --section-y: 64px; --header-h: 70px; }
}

/* ==========================================================================
   Base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
	margin: 0;
	font-family: var(--font);
	font-weight: 400;
	font-size: 17px;
	line-height: 1.68;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

img, svg, video { max-width: 100%; height: auto; display: block; }

a {
	color: var(--brand-600);
	text-decoration: none;
	transition: color 0.2s var(--ease);
}

a:hover { color: var(--brand-700); }

h1, h2, h3, h4, h5 {
	margin: 0 0 0.5em;
	font-weight: 300;
	line-height: 1.12;
	letter-spacing: -0.02em;
	color: var(--ink);
	text-wrap: balance;
}

h1 { font-size: clamp(38px, 5vw, 68px); }
h2 { font-size: clamp(30px, 3.6vw, 50px); }
h3 { font-size: clamp(22px, 2.2vw, 30px); font-weight: 400; }
h4 { font-size: 21px; font-weight: 700; letter-spacing: -0.01em; }

p { margin: 0 0 1.15em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.3em; }

blockquote {
	position: relative;
	margin: 36px 0;
	padding: 6px 0 6px 28px;
	border-left: 3px solid var(--brand);
	font-size: 21px;
	font-weight: 300;
	line-height: 1.5;
	color: var(--ink-700);
}

code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.92em; }

code {
	padding: 2px 6px;
	border-radius: 5px;
	background: var(--brand-050);
	color: var(--brand-800);
}

pre {
	padding: 22px 26px;
	border-radius: var(--radius);
	background: var(--ink-900);
	color: #e7f6fb;
	overflow-x: auto;
}

pre code { padding: 0; background: none; color: inherit; }

hr { height: 1px; margin: 48px 0; border: 0; background: var(--line); }

::selection { background: var(--brand-100); color: var(--ink); }

:focus-visible {
	outline: 3px solid var(--brand);
	outline-offset: 3px;
	border-radius: 4px;
}

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

.skip-link:focus {
	position: fixed;
	z-index: 999;
	top: 16px; left: 16px;
	width: auto; height: auto;
	clip: auto;
	padding: 12px 20px;
	border-radius: var(--pill);
	background: var(--ink);
	color: var(--white);
}

.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

.section { position: relative; padding: var(--section-y) 0; }
.section-tint { background: var(--brand-025); }

/* ==========================================================================
   Buttons and links
   ========================================================================== */

.btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 15px 30px;
	border: 1px solid transparent;
	border-radius: var(--pill);
	background: var(--brand);
	color: var(--white);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.01em;
	cursor: pointer;
	transition: background 0.22s var(--ease), color 0.22s var(--ease),
		box-shadow 0.22s var(--ease), transform 0.22s var(--ease), border-color 0.22s var(--ease);
}

.btn .niteva-icon { transition: transform 0.22s var(--ease); }

.btn:hover {
	color: var(--white);
	background: var(--brand-600);
	box-shadow: var(--shadow-brand);
	transform: translateY(-2px);
}

.btn:hover .niteva-icon { transform: translateX(3px); }
.btn:active { transform: translateY(0); }

.btn-lg { padding: 19px 38px; font-size: 17px; }

.btn-outline {
	background: transparent;
	border-color: currentColor;
	color: var(--ink);
}

.btn-outline:hover {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--white);
	box-shadow: var(--shadow-md);
}

.btn-invert { background: var(--white); color: var(--brand-700); }
.btn-invert:hover { background: var(--ink-900); color: var(--white); box-shadow: 0 12px 26px rgba(16, 19, 21, 0.28); }

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-weight: 700;
	color: var(--brand-600);
}

.link-arrow .niteva-icon { transition: transform 0.22s var(--ease); }
.link-arrow:hover .niteva-icon { transform: translateX(4px); }
.link-arrow-back:hover .niteva-icon { transform: translateX(-4px); }

/* A small rule in front of the eyebrow gives every section a starting mark. */

.eyebrow {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 16px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--brand-600);
}

.eyebrow::before {
	content: '';
	flex: 0 0 auto;
	width: 28px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	opacity: 0.7;
}

.section-head-center .eyebrow { justify-content: center; }

.eyebrow-light { color: var(--brand-100); }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
	position: fixed;
	z-index: 100;
	top: 0; left: 0; right: 0;
	height: var(--header-h);
	display: flex;
	align-items: center;
	transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.header-inner { display: flex; align-items: center; gap: 28px; }
.header-brand { flex: 0 0 auto; margin-right: auto; }

.brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--brand);
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.1;
}

.brand-mark svg { display: block; }
.brand-word { color: var(--ink); text-transform: uppercase; }
.custom-logo-link img { max-height: 50px; width: auto; }

.site-nav .nav-list {
	display: flex;
	align-items: center;
	gap: 32px;
	margin: 0; padding: 0;
	list-style: none;
}

.nav-list li { position: relative; }

.nav-list a {
	display: inline-block;
	padding: 8px 0;
	color: var(--ink);
	font-size: 16px;
}

.nav-list a::after {
	content: '';
	display: block;
	height: 2px;
	width: 0;
	margin-top: 4px;
	border-radius: 2px;
	background: var(--brand);
	transition: width 0.24s var(--ease);
}

.nav-list a:hover,
.nav-list .current-menu-item > a,
.nav-list .current_page_item > a { color: var(--brand-600); }

.nav-list a:hover::after,
.nav-list .current-menu-item > a::after,
.nav-list .current_page_item > a::after { width: 100%; }

.nav-list .sub-menu {
	position: absolute;
	z-index: 20;
	top: 100%; left: -20px;
	min-width: 250px;
	margin: 0; padding: 12px 0;
	list-style: none;
	border-radius: var(--radius);
	background: var(--white);
	box-shadow: var(--shadow-md);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}

.nav-list li:hover > .sub-menu,
.nav-list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.nav-list .sub-menu a { display: block; padding: 9px 24px; color: var(--ink); }
.nav-list .sub-menu a::after { display: none; }
.nav-list .sub-menu a:hover { background: var(--brand-050); color: var(--brand-600); }

.header-tools { display: flex; align-items: center; gap: 16px; }

.lang-switch { position: relative; }

.lang-current {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 8px 6px;
	border: 0;
	background: none;
	color: var(--ink);
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.08em;
	cursor: pointer;
}

.lang-current .niteva-icon { transition: transform 0.2s var(--ease); }
.lang-switch.is-open .lang-current .niteva-icon { transform: rotate(180deg); }

.lang-list {
	position: absolute;
	z-index: 20;
	top: calc(100% + 8px); left: 50%;
	transform: translate(-50%, 6px);
	min-width: 86px;
	margin: 0; padding: 8px 0;
	list-style: none;
	border-radius: var(--radius-sm);
	background: var(--white);
	box-shadow: var(--shadow-md);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}

.lang-switch.is-open .lang-list { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

.lang-option {
	display: block;
	padding: 7px 18px;
	color: var(--ink);
	font-size: 15px;
	font-weight: 700;
	text-align: center;
}

.lang-option:hover, .lang-option.is-current { background: var(--brand-050); color: var(--brand-600); }

.burger {
	display: none;
	position: relative;
	width: 44px; height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: none;
	color: var(--ink);
	cursor: pointer;
}

.burger .burger-open, .burger .burger-close {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	transition: opacity 0.2s var(--ease);
}

.burger .burger-close { opacity: 0; }
.burger[aria-expanded='true'] .burger-open { opacity: 0; }
.burger[aria-expanded='true'] .burger-close { opacity: 1; }

body.has-overlay-hero .site-header { background: transparent; }

body.has-overlay-hero .site-header .brand,
body.has-overlay-hero .site-header .brand-word,
body.has-overlay-hero .site-header .nav-list a,
body.has-overlay-hero .site-header .lang-current,
body.has-overlay-hero .site-header .burger { color: var(--white); }

body.has-overlay-hero .site-header .brand-mark svg circle { fill: rgba(255, 255, 255, 0.2); }

body.has-solid-header .site-header,
.site-header.is-stuck {
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: saturate(180%) blur(14px);
	box-shadow: 0 1px 0 var(--line-soft), 0 10px 30px rgba(16, 19, 21, 0.05);
}

.site-header.is-stuck .brand-word,
.site-header.is-stuck .nav-list a,
.site-header.is-stuck .lang-current,
.site-header.is-stuck .burger { color: var(--ink); }

.site-header.is-stuck .brand { color: var(--brand); }
.site-header.is-stuck .brand-mark svg circle { fill: currentColor; }

body.has-solid-header .site-main { padding-top: var(--header-h); }

.mobile-menu {
	position: fixed;
	z-index: 99;
	inset: var(--header-h) 0 0;
	padding: 32px 0 48px;
	background: var(--white);
	overflow-y: auto;
}

.mobile-menu[hidden] { display: none; }

.mobile-nav-list { margin: 0 0 32px; padding: 0; list-style: none; }
.mobile-nav-list li { border-bottom: 1px solid var(--line-soft); }

.mobile-nav-list a {
	display: block;
	padding: 16px 0;
	color: var(--ink);
	font-size: 22px;
	font-weight: 300;
}

.mobile-nav-list .sub-menu { margin: 0 0 12px; padding-left: 16px; list-style: none; }
.mobile-nav-list .sub-menu li { border: 0; }
.mobile-nav-list .sub-menu a { padding: 8px 0; font-size: 17px; color: var(--muted); }

.mobile-menu-foot { display: flex; flex-direction: column; gap: 14px; }

.mobile-contact {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--ink);
	font-size: 17px;
	font-weight: 700;
}

@media (max-width: 1100px) {
	.site-nav, .header-cta { display: none; }
	.burger { display: block; }
}

/* ==========================================================================
   Section furniture
   ========================================================================== */

.section-head { max-width: 880px; margin: 0 0 64px; }
.section-head-center { margin-left: auto; margin-right: auto; text-align: center; }

.section-head-split {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 28px;
	max-width: none;
}

.section-title {
	margin: 0;
	font-size: clamp(30px, 3.6vw, 52px);
	font-weight: 300;
	line-height: 1.08;
	letter-spacing: -0.025em;
}

.section-note {
	max-width: 680px;
	margin: 20px 0 0;
	font-size: 18.5px;
	font-weight: 400;
	line-height: 1.6;
	color: var(--muted);
}

.section-head-center .section-note { margin-left: auto; margin-right: auto; }
.section-foot { margin: 52px 0 0; text-align: center; }

.section-orb { position: absolute; z-index: 0; border-radius: 50%; pointer-events: none; }

.section-orb-right {
	width: 520px; height: 520px;
	top: -120px; right: -200px;
	background: radial-gradient(circle at 50% 50%, rgba(0, 176, 230, 0.1), rgba(0, 176, 230, 0) 68%);
}

.section-orb-left {
	width: 420px; height: 420px;
	bottom: -140px; left: -190px;
	background: radial-gradient(circle at 50% 50%, rgba(127, 25, 127, 0.08), rgba(127, 25, 127, 0) 68%);
}

.editor-hint {
	padding: 22px 26px;
	border: 1px dashed var(--line);
	border-radius: var(--radius);
	color: var(--muted);
}

.empty-note { padding: 40px 0; color: var(--muted); }

/* ==========================================================================
   Hero
   The artwork lives in the right half only; the text column keeps a clean,
   darkened field so nothing ever runs through the words.
   ========================================================================== */

.hero {
	position: relative;
	min-height: min(100svh, 940px);
	display: flex;
	align-items: center;
	overflow: hidden;
	color: var(--white);
	background: var(--ink-900);
}

.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

.hero-artwork {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(120% 100% at 78% 40%, #0d4a63 0%, #0a2f42 42%, #071c26 72%, #050f16 100%);
}

.hero-map {
	position: absolute;
	top: 50%;
	right: 2%;
	width: min(78vh, 760px);
	height: auto;
	transform: translateY(-50%);
	color: #8fe6ff;
	opacity: 0.9;
	animation: niteva-drift 26s ease-in-out infinite alternate;
}

.hero-rings { transform-origin: 360px 360px; animation: niteva-spin 90s linear infinite; }

.hero-glow {
	position: absolute;
	top: 46%;
	right: 12%;
	width: 460px; height: 460px;
	transform: translateY(-50%);
	border-radius: 50%;
	background: radial-gradient(circle at 50% 50%, rgba(0, 176, 230, 0.34), rgba(0, 176, 230, 0) 66%);
	pointer-events: none;
}

.hero-veil {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(100deg, rgba(5, 15, 22, 0.94) 0%, rgba(5, 15, 22, 0.82) 34%, rgba(5, 15, 22, 0.32) 62%, rgba(5, 15, 22, 0.12) 100%),
		linear-gradient(to top, rgba(5, 15, 22, 0.72), transparent 38%);
}

@keyframes niteva-spin { to { transform: rotate(360deg); } }

@keyframes niteva-drift {
	from { transform: translate(0, -50%); }
	to   { transform: translate(-22px, calc(-50% + 18px)); }
}

.hero-inner {
	position: relative;
	z-index: 2;
	width: 100%;
	padding: calc(var(--header-h) + 56px) 0 108px;
}

.hero-body { max-width: 1180px; margin-left: auto; }

.hero-title {
	margin: 0 0 30px;
	font-size: clamp(42px, 7.6vw, 116px);
	font-weight: 300;
	line-height: 1;
	letter-spacing: -0.035em;
	color: var(--white);
	text-align: right;
}

.hero-sub {
	display: flex;
	align-items: flex-start;
	gap: 22px;
	max-width: 560px;
	margin: 0 0 36px;
	font-size: clamp(18px, 1.45vw, 22px);
	font-weight: 300;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.92);
}

.hero-sub-mark { flex: 0 0 auto; margin-top: 4px; color: rgba(255, 255, 255, 0.6); }

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 30px;
	margin: 0 0 44px;
}

.hero-link {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	color: rgba(255, 255, 255, 0.86);
	font-size: 16px;
	font-weight: 700;
}

.hero-link .niteva-icon { transition: transform 0.22s var(--ease); }
.hero-link:hover { color: var(--white); }
.hero-link:hover .niteva-icon { transform: translateX(4px); }

.hero-points {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 30px;
	max-width: 900px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 15.5px;
	color: rgba(255, 255, 255, 0.8);
}

.hero-points li { display: flex; align-items: center; gap: 10px; }

.hero-point-tick {
	display: grid;
	place-items: center;
	width: 24px; height: 24px;
	border-radius: 50%;
	background: rgba(0, 176, 230, 0.22);
	color: #9fe9ff;
}

.hero-scroll {
	position: absolute;
	z-index: 2;
	bottom: 40px; left: 50%;
	transform: translateX(-50%);
	width: 1px; height: 62px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.22);
}

.hero-scroll-line {
	display: block;
	width: 100%; height: 26px;
	background: var(--white);
	animation: niteva-scroll 2.1s var(--ease) infinite;
}

@keyframes niteva-scroll {
	0%   { transform: translateY(-30px); }
	100% { transform: translateY(62px); }
}

@media (max-width: 1100px) {
	.hero-map { right: -14%; opacity: 0.55; }
	.hero-glow { right: -8%; }
	.hero-veil {
		background:
			linear-gradient(120deg, rgba(5, 15, 22, 0.94) 0%, rgba(5, 15, 22, 0.86) 48%, rgba(5, 15, 22, 0.5) 100%),
			linear-gradient(to top, rgba(5, 15, 22, 0.7), transparent 40%);
	}
	.hero-title { text-align: left; }
}

@media (max-width: 720px) {
	.hero { min-height: min(100svh, 720px); }
	.hero-inner { padding-bottom: 84px; }
	.hero-points { gap: 10px 20px; font-size: 14.5px; }

	/* The drawn mark eats a third of a phone's width for decoration. */
	.hero-sub { gap: 0; }
	.hero-sub-mark { display: none; }
}

/* ==========================================================================
   Client strip
   ========================================================================== */

.logos {
	padding: 40px 0;
	border-bottom: 1px solid var(--line-soft);
	background: var(--white);
}

.logos-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px 46px;
	flex-wrap: wrap;
}

.logos-title {
	margin: 0;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--muted);
	opacity: 0.85;
}

.logos-track {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px 34px;
}

.logo-item {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 17px;
	font-weight: 400;
	letter-spacing: 0.02em;
	color: var(--ink-700);
	opacity: 0.72;
	transition: opacity 0.22s var(--ease);
}

.logo-item:hover { opacity: 1; }

.logo-dot {
	width: 7px; height: 7px;
	border-radius: 50%;
	background: var(--brand);
	opacity: 0.75;
}

@media (max-width: 900px) {
	.logos-inner { flex-direction: column; gap: 18px; }
}

/* ==========================================================================
   Services
   Flex rather than grid: five cards then centre the remainder, instead of
   leaving one orphan hanging on the left of a second row.
   ========================================================================== */

.service-grid {
	position: relative;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
}

.service-card {
	flex: 1 1 208px;
	max-width: 340px;
	border: 1px solid var(--line-soft);
	border-radius: var(--radius-xl);
	background: var(--white);
	box-shadow: var(--shadow-xs);
	transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}

.service-card:hover {
	transform: translateY(-8px);
	border-color: rgba(0, 176, 230, 0.4);
	box-shadow: var(--shadow-md);
}

.service-card-link {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 34px 30px 30px;
	color: var(--ink);
}

.service-icon {
	display: grid;
	place-items: center;
	width: 62px; height: 62px;
	margin-bottom: 24px;
	border-radius: 18px;
	background: linear-gradient(140deg, var(--brand-050), var(--brand-100));
	color: var(--brand-700);
	transition: background 0.28s var(--ease), color 0.28s var(--ease), transform 0.28s var(--ease);
}

.service-card:hover .service-icon {
	background: linear-gradient(140deg, var(--brand), var(--brand-700));
	color: var(--white);
	transform: rotate(-4deg);
}

.service-name {
	margin: 0 0 10px;
	font-size: 19.5px;
	font-weight: 700;
	line-height: 1.28;
	letter-spacing: -0.01em;
}

.service-text {
	margin: 0 0 20px;
	font-size: 15.5px;
	line-height: 1.6;
	color: var(--muted);
}

.service-more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	color: var(--brand-600);
	font-size: 14.5px;
	font-weight: 700;
}

.service-more .niteva-icon { transition: transform 0.24s var(--ease); }
.service-card:hover .service-more .niteva-icon { transform: translateX(4px); }

/* Services hub rows */

.service-list { border-top: 1px solid var(--line-soft); }

.service-row {
	display: grid;
	grid-template-columns: 64px 72px 1fr auto;
	align-items: center;
	gap: 26px;
	padding: 30px 20px 30px 0;
	border-bottom: 1px solid var(--line-soft);
	border-radius: var(--radius);
	transition: background 0.24s var(--ease), padding 0.24s var(--ease);
}

.service-row:hover { background: var(--brand-025); padding-left: 20px; }

.service-row-number {
	font-size: 20px;
	font-weight: 300;
	color: var(--brand);
	padding-left: 6px;
}

.service-row-icon {
	display: grid;
	place-items: center;
	width: 72px; height: 72px;
	border-radius: 20px;
	background: linear-gradient(140deg, var(--brand-050), var(--brand-100));
	color: var(--brand-700);
}

.service-row-title { margin: 0 0 6px; font-size: clamp(21px, 1.9vw, 27px); font-weight: 400; }
.service-row-title a { color: var(--ink); }
.service-row-title a:hover { color: var(--brand-600); }
.service-row-text { max-width: 780px; margin: 0; color: var(--muted); }

@media (max-width: 900px) {
	.service-row { grid-template-columns: 46px 1fr; gap: 14px; padding: 24px 0; }
	.service-row-icon { display: none; }
	.service-row-more { grid-column: 2; }
}

/* Single service */

.service-single {
	display: grid;
	grid-template-columns: 300px 1fr;
	gap: 64px;
	align-items: start;
}

.service-aside {
	position: sticky;
	top: calc(var(--header-h) + 32px);
	padding: 32px;
	border-radius: var(--radius-xl);
	background: var(--brand-025);
	border: 1px solid var(--line-soft);
}

.service-aside-icon {
	display: grid;
	place-items: center;
	width: 76px; height: 76px;
	margin-bottom: 24px;
	border-radius: 22px;
	background: var(--white);
	color: var(--brand-700);
	box-shadow: var(--shadow-xs);
}

.service-aside-title {
	margin: 0 0 14px;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--muted);
}

.service-aside-nav ul { margin: 0; padding: 0; list-style: none; }
.service-aside-nav li + li { margin-top: 12px; }
.service-aside-nav a { color: var(--ink); }
.service-aside-nav a:hover { color: var(--brand-600); }

@media (max-width: 1000px) {
	.service-single { grid-template-columns: 1fr; gap: 32px; }
	.service-aside { position: static; }
}

/* ==========================================================================
   How we work
   ========================================================================== */

.steps { background: var(--brand-025); }

.step-list {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: step;
}

/* The line the numbers sit on. */
.step-list::before {
	content: '';
	position: absolute;
	top: 27px; left: 8%; right: 8%;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--brand-100) 12%, var(--brand-100) 88%, transparent);
}

.step {
	position: relative;
	padding-top: 74px;
}

.step-number {
	position: absolute;
	top: 0; left: 0;
	display: grid;
	place-items: center;
	width: 56px; height: 56px;
	border-radius: 50%;
	border: 2px solid var(--brand-100);
	background: var(--white);
	color: var(--brand-700);
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.02em;
	transition: background 0.26s var(--ease), color 0.26s var(--ease), border-color 0.26s var(--ease);
}

.step:hover .step-number { background: var(--brand); border-color: var(--brand); color: var(--white); }

.step-title { margin: 0 0 8px; font-size: 20px; font-weight: 700; line-height: 1.3; }
.step-text { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--muted); }

@media (max-width: 1000px) {
	.step-list { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
	.step-list::before { display: none; }
}

@media (max-width: 620px) {
	.step-list { grid-template-columns: 1fr; }
	.step { padding-top: 0; padding-left: 74px; min-height: 56px; }
}

/* ==========================================================================
   Carousel (testimonials and cases)
   ========================================================================== */

.carousel { position: relative; z-index: 1; }

.carousel-viewport { overflow: hidden; margin: 0 -13px; padding: 8px 0; }

.carousel-track {
	display: flex;
	transition: transform 0.55s var(--ease);
	will-change: transform;
}

.carousel-slide { flex: 0 0 var(--slide-w, 100%); padding: 0 13px; }

.carousel-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	margin-top: 44px;
}

.carousel-btn {
	display: grid;
	place-items: center;
	width: 52px; height: 52px;
	border: 1px solid var(--line);
	border-radius: 50%;
	background: var(--white);
	color: var(--ink);
	cursor: pointer;
	transition: background 0.22s var(--ease), color 0.22s var(--ease),
		border-color 0.22s var(--ease), transform 0.22s var(--ease);
}

.carousel-btn:hover:not(:disabled) {
	background: var(--brand);
	border-color: var(--brand);
	color: var(--white);
	transform: translateY(-2px);
}

.carousel-btn:disabled { opacity: 0.3; cursor: default; }

.carousel-dots { display: flex; align-items: center; gap: 8px; }

.carousel-dot {
	width: 9px; height: 9px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--line);
	cursor: pointer;
	transition: background 0.22s var(--ease), width 0.22s var(--ease);
}

.carousel-dot.is-active { width: 28px; border-radius: var(--pill); background: var(--brand); }

/* Testimonials */

.testimonials { background: var(--white); border-top: 1px solid var(--line-soft); }
.testimonials .carousel-slide { display: flex; }

.quote-card {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	padding: 40px 38px 32px;
	border: 1px solid var(--line-soft);
	border-radius: var(--radius-xl);
	background: var(--white);
	box-shadow: var(--shadow-xs);
	transition: box-shadow 0.28s var(--ease), transform 0.28s var(--ease);
}

.quote-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }

.quote-mark {
	position: absolute;
	top: 24px; right: 28px;
	color: var(--brand);
	opacity: 0.28;
}

.quote-text {
	flex: 1 1 auto;
	font-size: 18.5px;
	font-weight: 400;
	line-height: 1.62;
	color: var(--ink-700);
}

.quote-text p:last-child { margin-bottom: 0; }

.quote-by {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-top: 28px;
	padding-top: 24px;
	border-top: 1px solid var(--line-soft);
}

.quote-avatar {
	flex: 0 0 auto;
	width: 54px; height: 54px;
	overflow: hidden;
	border-radius: 50%;
	background: linear-gradient(140deg, var(--brand-100), var(--brand-050));
}

.quote-avatar img { width: 100%; height: 100%; object-fit: cover; }

.quote-avatar-initials {
	display: grid;
	place-items: center;
	color: var(--brand-700);
	font-size: 22px;
	font-weight: 700;
}

.quote-who strong { display: block; font-size: 16.5px; font-weight: 700; }
.quote-who span { font-size: 15px; color: var(--muted); }

/* ==========================================================================
   Cases
   ========================================================================== */

.case-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
	gap: 26px;
}

.case-card {
	border: 1px solid var(--line-soft);
	border-radius: var(--radius-xl);
	overflow: hidden;
	background: var(--white);
	box-shadow: var(--shadow-xs);
	transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}

.case-card:hover {
	transform: translateY(-8px);
	border-color: rgba(0, 176, 230, 0.35);
	box-shadow: var(--shadow-md);
}

.cases .carousel-slide.case-card {
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	transform: none;
}

.cases .carousel-slide .case-card-link {
	border: 1px solid var(--line-soft);
	border-radius: var(--radius-xl);
	overflow: hidden;
	background: var(--white);
	box-shadow: var(--shadow-xs);
	transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}

.cases .carousel-slide:hover .case-card-link {
	transform: translateY(-8px);
	border-color: rgba(0, 176, 230, 0.35);
	box-shadow: var(--shadow-md);
}

.case-card-link { display: flex; flex-direction: column; height: 100%; color: var(--ink); }

.case-media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: linear-gradient(150deg, #0b6f95 0%, #073a4f 100%);
}

.case-card.tone-2 .case-media { background: linear-gradient(150deg, #0d4d68 0%, #0a2230 100%); }
.case-card.tone-3 .case-media { background: linear-gradient(150deg, #4a1a52 0%, #1c0d24 100%); }
.case-card.tone-4 .case-media { background: linear-gradient(150deg, #10424f 0%, #101315 100%); }

.case-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s var(--ease); }
.case-card:hover .case-media img,
.cases .carousel-slide:hover .case-media img { transform: scale(1.05); }

.case-media-fallback { position: absolute; inset: 0; display: grid; place-items: center; }

.case-art {
	width: 82%;
	height: auto;
	color: rgba(255, 255, 255, 0.62);
	transition: transform 0.6s var(--ease), color 0.4s var(--ease);
}

.case-card:hover .case-art,
.cases .carousel-slide:hover .case-art { transform: scale(1.04) rotate(-1.5deg); color: rgba(255, 255, 255, 0.85); }

.case-result {
	position: absolute;
	left: 18px; bottom: 18px;
	padding: 7px 15px;
	border-radius: var(--pill);
	background: rgba(255, 255, 255, 0.94);
	color: var(--ink);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.02em;
	box-shadow: var(--shadow-xs);
}

/* A sample entry should look deliberate, not like a broken card. */
.case-result.is-sample {
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.3);
	color: rgba(255, 255, 255, 0.86);
	font-weight: 400;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-size: 11.5px;
	box-shadow: none;
}

.case-body { display: flex; flex-direction: column; gap: 9px; padding: 26px 28px 30px; }

.case-sector {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--brand-600);
}

.case-title { font-size: 21px; font-weight: 700; line-height: 1.28; letter-spacing: -0.01em; }
.case-text { font-size: 15.5px; line-height: 1.6; color: var(--muted); }

.case-highlight {
	display: inline-block;
	margin: 0 0 30px;
	padding: 13px 26px;
	border-radius: var(--pill);
	background: var(--brand-050);
	color: var(--brand-800);
	font-size: 19px;
	font-weight: 700;
}

/* ==========================================================================
   Call to action band
   ========================================================================== */

.cta-band { padding: 0; }

.cta-inner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 36px;
	overflow: hidden;
	padding: 72px 76px;
	border-radius: var(--radius-xl);
	background: linear-gradient(115deg, #00b0e6 0%, #0b6f95 52%, #123f63 100%);
	color: var(--white);
	box-shadow: 0 26px 60px rgba(11, 111, 149, 0.28);
}

/* Soft arcs so the band is not a flat rectangle of gradient. */
.cta-inner::before,
.cta-inner::after {
	content: '';
	position: absolute;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.16);
	pointer-events: none;
}

.cta-inner::before { width: 420px; height: 420px; top: -180px; right: 8%; }
.cta-inner::after  { width: 620px; height: 620px; bottom: -420px; right: 2%; border-color: rgba(255, 255, 255, 0.1); }

.cta-copy { position: relative; z-index: 1; }

.cta-title {
	margin: 0;
	max-width: 760px;
	font-size: clamp(27px, 3vw, 44px);
	font-weight: 300;
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: var(--white);
}

.cta-band .btn { position: relative; z-index: 1; flex: 0 0 auto; }

@media (max-width: 900px) {
	.cta-inner { flex-direction: column; align-items: flex-start; padding: 44px 32px; }
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact { background: var(--brand-025); }

.contact-grid {
	display: grid;
	grid-template-columns: minmax(320px, 440px) 1fr;
	gap: 80px;
	align-items: start;
}

.contact-list {
	margin: 36px 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 14px;
}

.contact-list li { display: flex; align-items: center; gap: 15px; font-size: 17px; }
.contact-list a { color: var(--ink); font-weight: 700; }
.contact-list a:hover { color: var(--brand-600); }

.contact-ico {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 46px; height: 46px;
	border-radius: 14px;
	background: var(--white);
	color: var(--brand-700);
	box-shadow: var(--shadow-xs);
}

.contact-next {
	margin: 40px 0 0;
	padding: 26px 28px;
	border-radius: var(--radius-lg);
	background: rgba(0, 176, 230, 0.07);
	border: 1px solid rgba(0, 176, 230, 0.16);
}

.contact-next h3 {
	margin: 0 0 14px;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--brand-700);
}

.contact-next ol {
	margin: 0;
	padding-left: 20px;
	font-size: 15.5px;
	line-height: 1.55;
	color: var(--muted);
}

.contact-next li { margin-bottom: 8px; }
.contact-next li::marker { color: var(--brand); font-weight: 700; }
.contact-next li:last-child { margin-bottom: 0; }

.contact-form-wrap {
	padding: 46px;
	border: 1px solid var(--line-soft);
	border-radius: var(--radius-xl);
	background: var(--white);
	box-shadow: var(--shadow-sm);
}

@media (max-width: 1050px) {
	.contact-grid { grid-template-columns: 1fr; gap: 44px; }
	.contact-form-wrap { padding: 28px 22px; }
}

/* Form */

.lead-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; }

.field { margin: 0; }
.field-wide { grid-column: 1 / -1; }

.field > label {
	display: block;
	margin-bottom: 8px;
	font-size: 13.5px;
	font-weight: 700;
	letter-spacing: 0.03em;
	color: var(--ink-700);
}

.field input[type='text'],
.field input[type='email'],
.field input[type='tel'],
.field select,
.field textarea,
.search-form input[type='search'] {
	width: 100%;
	padding: 15px 18px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: #fbfdfe;
	color: var(--ink);
	font-family: inherit;
	font-size: 16px;
	line-height: 1.4;
	transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}

.field textarea { resize: vertical; min-height: 140px; }

.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(16, 19, 21, 0.22); }

.field input:focus, .field select:focus, .field textarea:focus {
	outline: none;
	background: var(--white);
	border-color: var(--brand);
	box-shadow: 0 0 0 4px rgba(0, 176, 230, 0.14);
}

.field.has-error input,
.field.has-error textarea,
.field.has-error select { border-color: #e2413f; background: #fffafa; }

.field-error { display: block; margin-top: 7px; font-size: 13.5px; font-weight: 400; color: #c92120; }

.select-wrap { position: relative; display: block; }
.select-wrap select { appearance: none; padding-right: 46px; }

.select-wrap .niteva-icon {
	position: absolute;
	top: 50%; right: 16px;
	transform: translateY(-50%);
	pointer-events: none;
	color: var(--muted);
}

.field-consent { margin: 26px 0 0; }

/* .field label sets display:block, so the checkbox row needs to win it back. */
.field label.checkbox {
	display: flex;
	align-items: flex-start;
	gap: 13px;
	margin-bottom: 0;
	font-size: 15px;
	font-weight: 400;
	letter-spacing: 0;
	color: var(--muted);
	cursor: pointer;
}

.checkbox input { position: absolute; opacity: 0; width: 0; height: 0; }

.checkbox .box {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 24px; height: 24px;
	margin-top: 2px;
	border: 1px solid var(--line);
	border-radius: 7px;
	background: var(--white);
	color: transparent;
	transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.checkbox:hover .box { border-color: var(--brand); }
.checkbox input:checked + .box { background: var(--brand); border-color: var(--brand); color: var(--white); }
.checkbox input:focus-visible + .box { outline: 3px solid var(--brand); outline-offset: 2px; }

.checkbox-text { line-height: 1.5; }
.checkbox-text a { font-weight: 700; }

.field-honey { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.lead-form-actions { margin: 30px 0 0; }
.lead-form.is-sending .btn { opacity: 0.7; pointer-events: none; }
.lead-form-status { margin-top: 18px; }
.lead-form-status:empty { margin-top: 0; }

.form-note { padding: 16px 20px; border-radius: var(--radius-sm); font-size: 15.5px; }
.form-note-error { background: #fff0f0; color: #b32120; }

.form-done { padding: 44px 34px; border-radius: var(--radius-lg); background: var(--brand-050); text-align: center; }

.form-done-icon {
	display: grid;
	place-items: center;
	width: 66px; height: 66px;
	margin: 0 auto 20px;
	border-radius: 50%;
	background: var(--brand);
	color: var(--white);
	box-shadow: var(--shadow-brand);
}

.form-done h3 { margin: 0 0 10px; font-size: 27px; font-weight: 400; }
.form-done p { margin: 0; color: var(--muted); }

@media (max-width: 620px) {
	.lead-form-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Team band
   ========================================================================== */

.team-band {
	position: relative;
	overflow: hidden;
	background: var(--ink-900);
	color: rgba(255, 255, 255, 0.82);
}

.band-glow {
	position: absolute;
	top: -160px; right: -120px;
	width: 560px; height: 560px;
	border-radius: 50%;
	background: radial-gradient(circle at 50% 50%, rgba(0, 176, 230, 0.16), rgba(0, 176, 230, 0) 68%);
	pointer-events: none;
}

.team-band .container { position: relative; z-index: 1; }
.team-band .section-title, .team-band h2 { color: var(--white); }
.team-band .section-note { color: rgba(255, 255, 255, 0.7); }
.team-band .btn-outline { color: var(--white); border-color: rgba(255, 255, 255, 0.34); }
.team-band .btn-outline:hover { background: var(--white); border-color: var(--white); color: var(--ink); }

.team-grid {
	display: grid;
	grid-template-columns: minmax(300px, 1fr) 1.05fr;
	gap: 72px;
	align-items: center;
}

.team-grid-solo { grid-template-columns: 1fr; max-width: 780px; }
.team-actions { margin: 32px 0 0; }

.team-faces { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px; }

.face {
	margin: 0;
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: rgba(255, 255, 255, 0.05);
	text-align: center;
}

.face img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.face-initials {
	display: grid;
	place-items: center;
	aspect-ratio: 4 / 5;
	background: linear-gradient(140deg, rgba(0, 176, 230, 0.32), rgba(127, 25, 127, 0.3));
	color: var(--white);
	font-size: 40px;
	font-weight: 300;
}

.face figcaption { padding: 14px 12px 18px; }
.face figcaption strong { display: block; font-size: 16px; font-weight: 700; color: var(--white); }
.face figcaption span { font-size: 14px; color: rgba(255, 255, 255, 0.58); }

/* The promises stand in for photographs until there are any. */

.promise-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.promise {
	padding: 24px 24px 26px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: var(--radius-lg);
	background: rgba(255, 255, 255, 0.04);
	transition: background 0.26s var(--ease), border-color 0.26s var(--ease), transform 0.26s var(--ease);
}

.promise:hover {
	background: rgba(255, 255, 255, 0.07);
	border-color: rgba(0, 176, 230, 0.4);
	transform: translateY(-4px);
}

.promise-tick {
	display: grid;
	place-items: center;
	width: 32px; height: 32px;
	margin-bottom: 14px;
	border-radius: 10px;
	background: rgba(0, 176, 230, 0.18);
	color: #9fe9ff;
}

.promise strong { display: block; margin-bottom: 6px; font-size: 16.5px; font-weight: 700; color: var(--white); }
.promise span { font-size: 14.5px; line-height: 1.55; color: rgba(255, 255, 255, 0.68); }

@media (max-width: 1050px) {
	.team-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 560px) {
	.promise-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Inner page furniture
   ========================================================================== */

.page-hero {
	position: relative;
	overflow: hidden;
	padding: 96px 0 84px;
	background: linear-gradient(115deg, #0a2532 0%, #0f3d52 55%, #071b25 100%);
	color: var(--white);
}

/* A faint grid keeps the band from reading as a flat swatch. */
.page-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
	background-size: 72px 72px;
	mask-image: linear-gradient(100deg, transparent 18%, #000 75%);
	-webkit-mask-image: linear-gradient(100deg, transparent 18%, #000 75%);
	pointer-events: none;
}

body.has-solid-header .site-main > .page-hero:first-child {
	margin-top: calc(var(--header-h) * -1);
	padding-top: calc(var(--header-h) + 80px);
}

.page-hero-orb {
	position: absolute;
	top: -180px; right: -110px;
	width: 500px; height: 500px;
	border-radius: 50%;
	background: radial-gradient(circle at 42% 42%, rgba(0, 176, 230, 0.36), rgba(0, 176, 230, 0) 66%);
}

.page-hero .container { position: relative; z-index: 1; }
.page-hero-back { margin: 0 0 22px; }
.page-hero-back .link-arrow { color: var(--brand-100); }
.page-hero-back .link-arrow:hover { color: var(--white); }

.page-hero-title {
	max-width: 1000px;
	margin: 0;
	font-size: clamp(34px, 5vw, 62px);
	font-weight: 300;
	letter-spacing: -0.03em;
	color: var(--white);
}

.page-hero-text {
	max-width: 720px;
	margin: 22px 0 0;
	font-size: 19px;
	font-weight: 300;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.76);
}

.page-hero-actions { margin: 34px 0 0; }
.page-hero-404 { padding-bottom: 120px; }

.page-body { padding: var(--section-y) 0; }
.page-body-full { padding: 0; }

.prose { max-width: 780px; font-size: 17.5px; line-height: 1.72; }
.prose > *:first-child { margin-top: 0; }

.prose > p:first-of-type {
	font-size: 20px;
	font-weight: 300;
	line-height: 1.6;
	color: var(--ink-700);
}

.prose h2 { margin-top: 1.7em; font-size: clamp(26px, 2.6vw, 36px); }
.prose h3 { margin-top: 1.5em; font-size: 23px; font-weight: 700; }

/* Ticked lists read as promises rather than bullets. */
.prose ul { padding-left: 0; list-style: none; }

.prose ul li {
	position: relative;
	margin-bottom: 12px;
	padding-left: 34px;
}

.prose ul li::before {
	content: '';
	position: absolute;
	left: 0; top: 0.45em;
	width: 18px; height: 18px;
	border-radius: 50%;
	background: var(--brand-050) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b6f95' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.prose ol { padding-left: 1.2em; }
.prose ol li { margin-bottom: 12px; }
.prose ol li::marker { color: var(--brand); font-weight: 700; }

.prose img, .prose figure { border-radius: var(--radius); }
.prose figure { margin: 36px 0; overflow: hidden; }

.service-prose { max-width: none; }

.post-cover { margin: 0 0 44px; border-radius: var(--radius-xl); overflow: hidden; }
.post-cover img { width: 100%; }

/* Page flow: ordinary blocks in a readable column, section blocks full width. */

.page-flow > * {
	max-width: 780px;
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--gutter);
	padding-right: var(--gutter);
	box-sizing: content-box;
	font-size: 17.5px;
	line-height: 1.72;
}

.page-flow > .hero,
.page-flow > .section,
.page-flow > .cta-band,
.page-flow > .logos,
.page-flow > .page-hero,
.page-flow > .alignfull { max-width: none; padding-left: 0; padding-right: 0; }

.page-flow > .alignwide { max-width: 1180px; }

.page-flow > p:first-of-type { font-size: 20px; font-weight: 300; color: var(--ink-700); }
.page-flow > h2 { margin-top: 1.7em; font-size: clamp(26px, 2.6vw, 36px); }
.page-flow > h3 { margin-top: 1.5em; font-size: 23px; font-weight: 700; }

.page-flow > ul { padding-left: var(--gutter); list-style: none; }

.page-flow > ul li {
	position: relative;
	margin-bottom: 12px;
	padding-left: 34px;
}

.page-flow > ul li::before {
	content: '';
	position: absolute;
	left: 0; top: 0.45em;
	width: 18px; height: 18px;
	border-radius: 50%;
	background: var(--brand-050) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b6f95' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.page-flow > ol { padding-left: calc(var(--gutter) + 1.2em); }
.page-flow > ol li { margin-bottom: 12px; }
.page-flow > ol li::marker { color: var(--brand); font-weight: 700; }

.page-flow > figure, .page-flow > img { border-radius: var(--radius); overflow: hidden; }

.page-body:has(> .page-flow > .section:first-child),
.page-body:has(> .page-flow > .hero:first-child),
.page-body:has(> .page-flow > .cta-band:first-child) { padding-top: 0; }

.page-body:has(> .page-flow > .section:last-child),
.page-body:has(> .page-flow > .cta-band:last-child),
.page-body:has(> .page-flow > .team-band:last-child) { padding-bottom: 0; }

/* Blog */

.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }

.post-card {
	border: 1px solid var(--line-soft);
	border-radius: var(--radius-xl);
	overflow: hidden;
	background: var(--white);
	box-shadow: var(--shadow-xs);
	transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}

.post-card:hover {
	transform: translateY(-8px);
	border-color: rgba(0, 176, 230, 0.35);
	box-shadow: var(--shadow-md);
}

.post-card-link { display: flex; flex-direction: column; height: 100%; color: var(--ink); }

.post-card-media {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: linear-gradient(140deg, var(--brand-100), var(--brand-050));
}

.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s var(--ease); }
.post-card:hover .post-card-media img { transform: scale(1.04); }

.post-card-fallback { position: absolute; inset: 0; display: grid; place-items: center; color: var(--brand-700); opacity: 0.55; }

.post-card-body { display: flex; flex-direction: column; gap: 11px; padding: 26px 28px 30px; }

.post-card-meta {
	display: flex;
	align-items: center;
	gap: 9px;
	font-size: 13px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--muted);
}

.post-card-title { font-size: 21.5px; font-weight: 400; line-height: 1.3; letter-spacing: -0.015em; }
.post-card-excerpt { font-size: 15.5px; line-height: 1.6; color: var(--muted); }

.related { margin-top: 80px; padding-top: 60px; border-top: 1px solid var(--line-soft); }
.related-title { margin-bottom: 34px; font-size: 29px; }

.pagination { margin-top: 52px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-width: 48px; height: 48px;
	padding: 0 16px;
	justify-content: center;
	border: 1px solid var(--line);
	border-radius: var(--pill);
	color: var(--ink);
	font-weight: 700;
	transition: background 0.22s var(--ease), border-color 0.22s var(--ease), color 0.22s var(--ease);
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current { background: var(--brand); border-color: var(--brand); color: var(--white); }

.search-form { display: flex; gap: 12px; margin-bottom: 44px; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
	position: relative;
	padding: 92px 0 34px;
	background: var(--ink-900);
	color: rgba(255, 255, 255, 0.62);
	font-size: 16px;
}

.site-footer::before {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--brand) 0%, var(--brand-700) 42%, var(--plum) 100%);
}

.site-footer a { color: rgba(255, 255, 255, 0.76); }
.site-footer a:hover { color: var(--white); }
.site-footer .brand-word { color: var(--white); }
.site-footer .brand { color: var(--brand); }

.footer-top {
	display: grid;
	grid-template-columns: 1.7fr 1fr 1fr 1.2fr;
	gap: 48px;
	padding-bottom: 60px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.footer-note { max-width: 370px; margin: 22px 0 0; line-height: 1.65; }
.footer-social { display: flex; gap: 12px; margin: 26px 0 0; }

.footer-social a {
	display: grid;
	place-items: center;
	width: 44px; height: 44px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 50%;
	transition: background 0.22s var(--ease), border-color 0.22s var(--ease), color 0.22s var(--ease), transform 0.22s var(--ease);
}

.footer-social a:hover { background: var(--brand); border-color: var(--brand); color: var(--white); transform: translateY(-2px); }

.footer-col-title {
	margin: 0 0 20px;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--white);
}

.footer-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }

/* Block widgets bring their own headings and lists, so the last column has to
   style whatever WordPress renders into it. */
.footer-widget { margin-top: 28px; }

.footer-widget h1, .footer-widget h2, .footer-widget h3,
.footer-widget .wp-block-heading {
	margin: 0 0 18px;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.16em;
	line-height: 1.4;
	text-transform: uppercase;
	color: var(--white);
}

.footer-widget ul, .footer-widget ol {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 12px;
	font-size: 15.5px;
}

.footer-widget li { line-height: 1.5; }
.footer-contacts li { line-height: 1.5; }

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-top: 28px;
	font-size: 14.5px;
}

.footer-copy { margin: 0; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 22px; margin: 0; padding: 0; list-style: none; }

@media (max-width: 1100px) {
	.footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 620px) {
	.footer-top { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Reveal on scroll + motion preferences
   ========================================================================== */

[data-reveal] {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-reveal].is-visible { opacity: 1; transform: none; }

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

	*, *::before, *::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}

	[data-reveal] { opacity: 1; transform: none; }
	.hero-map, .hero-rings { animation: none; }
}

/* Editor canvas */

.niteva-block-preview .hero { min-height: 62vh; }
.niteva-block-preview .site-header { display: none; }
