/*
 * Nitza Inbar – main stylesheet.
 *
 * The Floris Pilates system (small type, generous whitespace, 1px lines,
 * slow image zooms, reveals on scroll) in Nitza's colours: black on white,
 * warm cream for quiet sections, and sand (#bfab8d) for buttons and the footer. Futurism for
 * headings, Google Sans for text. Everything tunable lives in the tokens below.
 */

/* ---------- Fonts ---------- */

@font-face {
	font-family: "Futurism";
	src: url("../fonts/futurism-light.woff2") format("woff2");
	font-weight: 300;
	font-display: swap;
}

@font-face {
	font-family: "Futurism";
	src: url("../fonts/futurism-regular.woff2") format("woff2");
	font-weight: 400 500;
	font-display: swap;
}

/* ---------- Tokens ---------- */

:root {
	--black: #231f20;       /* the logo's black */
	--white: #fff;
	--soft: #f5f5f2;        /* warm cream: quiet sections */
	--accent: #bfab8d;      /* sand: button fills, the footer, highlights */
	--on-accent: rgba(255, 255, 255, .82); /* secondary text on sand: the footer is white on sand */
	--line-on-accent: rgba(255, 255, 255, .4);
	--text: #6b6763;        /* body text: warm grey */
	--line: #ecebe7;        /* borders and dividers */
	--control: #d4d2cc;     /* outlines of chips, round buttons and fields */

	--font-body: "Google Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
	--font-display: "Futurism", var(--font-body);

	--pad-x: 80px;          /* page side padding */
	--pad-section: 120px;   /* vertical rhythm between sections */
	--gap: 40px;            /* grid gutters */
	--header-pad: 40px 60px;

	--tint: .3;             /* image darkening */
	--tint-hover: .5;
	--ease: ease;
	--ease-out: cubic-bezier(.23, 1, .32, 1);
	--ease-drawer: cubic-bezier(.32, .72, 0, 1); /* iOS-like sheet curve */
}

@media (max-width: 1199px) {
	:root { --pad-x: 60px; --pad-section: 96px; }
}

@media (max-width: 767px) {
	:root { --pad-x: 24px; --pad-section: 72px; --gap: 20px; --header-pad: 18px 24px; }
}

/* ---------- Reset ---------- */

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

html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; overflow-x: hidden; scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--white);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 15px;
	line-height: 28px;
	letter-spacing: .01em;
	overflow-x: clip; /* no sideways scrolling, without breaking position: sticky */
	-webkit-font-smoothing: antialiased;
}

body.nz-menu-open { overflow: hidden; }

h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

::selection { background: var(--accent); color: var(--black); }

/* Phone numbers are marked dir="ltr"; keep them aligned with the Hebrew around them. */
[dir="ltr"] { unicode-bidi: isolate; text-align: right; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.nz-skip { position: absolute; top: 16px; inset-inline-start: 16px; z-index: 300; padding: 8px 16px; background: var(--white); color: var(--black); transform: translateY(-200%); }
.nz-skip:focus { transform: none; }

:focus-visible { outline: 1px solid var(--black); outline-offset: 4px; }

/* Sections reached from the menu stop below the slim header. */
[id] { scroll-margin-top: 72px; }

@media (max-width: 767px) {
	.nz-desktop-only { display: none; }
	.nz-section__head { margin-bottom: 28px; }
	.nz-section__heading { margin-bottom: 32px; }
	.nz-title + p { margin-top: 12px; }
}

/* ---------- Type ---------- */

.nz-title, .nz-h1, .nz-h2, .nz-h3 {
	font-family: var(--font-display);
	font-weight: 500;
	color: var(--black);
	letter-spacing: 0;
	text-wrap: balance;
}

.nz-title { font-size: 46px; line-height: 56px; }
.nz-h1 { font-size: 34px; line-height: 46px; }
.nz-h2 { font-size: 28px; line-height: 40px; }
.nz-h3 { font-size: 22px; line-height: 34px; }

@media (max-width: 1199px) {
	.nz-title { font-size: 36px; line-height: 46px; }
}

@media (max-width: 767px) {
	.nz-title { font-size: 28px; line-height: 38px; }
	.nz-h1 { font-size: 26px; line-height: 36px; }
	.nz-h2 { font-size: 22px; line-height: 32px; }
	.nz-h3 { font-size: 20px; line-height: 30px; }
}

.nz-title + p { margin-top: 20px; }

.nz-eyebrow { display: block; font-size: 13px; font-weight: 500; line-height: 22px; letter-spacing: .06em; color: var(--black); }
.nz-muted { color: var(--text); }

/* ---------- Layout ---------- */

.nz-container { width: 100%; max-width: 1920px; margin-inline: auto; padding-inline: var(--pad-x); }
.nz-narrow { max-width: calc(860px + var(--pad-x) * 2); }

.nz-section { padding-block: var(--pad-section); }
.nz-section--flush-top { padding-top: 0; }

.nz-section__head {
	display: flex; align-items: flex-end; justify-content: space-between; gap: var(--gap);
	margin-bottom: 48px;
}
.nz-section__heading { max-width: 640px; margin-bottom: 56px; }

.nz-soft { background: var(--soft); }

/* Full-bleed image filling its (positioned) parent. */
.nz-cover-img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }

/* Image darkening + slow zoom on hover. */
.nz-tint { position: absolute; inset: 0; overflow: hidden; background: var(--black); }
.nz-tint::after {
	content: ""; position: absolute; inset: 0; z-index: 1;
	background: var(--black); opacity: var(--tint);
	transition: opacity 1s var(--ease);
}
.nz-zoom .nz-cover-img { transition: transform 1.8s var(--ease-out); }

@media (hover: hover) {
	.nz-zoom:hover .nz-cover-img { transform: scale(1.04); }
	.nz-zoom:hover .nz-tint::after { opacity: var(--tint-hover); }
}

/* ---------- Buttons ---------- */

/* Filled cream button; black rises from the bottom on hover. */
.nz-btn {
	position: relative; display: inline-flex; align-items: center; justify-content: center;
	padding: 9px 32px; overflow: hidden; cursor: pointer;
	border: 1px solid var(--accent); border-radius: 5px; background: var(--accent);
	color: var(--black); font-family: var(--font-body); font-size: 13px; font-weight: 500;
	line-height: 22px; letter-spacing: .04em;
	transition: color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
	transform: translateZ(0);
}
.nz-btn::before {
	content: ""; position: absolute; inset: 0; background: var(--black);
	transform: translateY(100%); transition: transform .25s var(--ease);
}
.nz-btn > span { position: relative; }
.nz-btn--light { color: var(--white); border-color: rgba(255, 255, 255, .85); background: transparent; }
.nz-btn--sand { color: var(--black); border-color: var(--accent); background: var(--accent); }
.nz-btn--sand::before { background: var(--white); }
.nz-btn--light::before { background: var(--white); }
.nz-btn:active { transform: scale(.97); transition-duration: .1s; }

@media (hover: hover) {
	.nz-btn:hover { color: var(--white); border-color: var(--black); }
	.nz-btn:hover::before { transform: translateY(0); }
	.nz-btn--light:hover, .nz-btn--sand:hover { color: var(--black); border-color: var(--white); }
}

/* Quiet text link with an arrow that slides on hover. */
.nz-text-btn {
	position: relative; display: inline-flex; align-items: center; gap: 12px;
	color: var(--black); font-size: 13px; font-weight: 500; line-height: 22px; letter-spacing: .04em;
	cursor: pointer; transition: color .25s var(--ease);
}
.nz-icon--arrow { width: 16px; height: 10px; flex: none; }
.nz-text-btn .nz-icon--arrow { transition: transform .25s var(--ease); }

@media (hover: hover) {
	.nz-text-btn:hover { color: var(--text); }
	.nz-text-btn:hover .nz-icon--arrow { transform: translateX(-6px); }
}

/* Round arrow buttons for the sliders. */
.nz-round-btn {
	display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0;
	border: 1px solid var(--control); border-radius: 50%; background: transparent; color: var(--black); cursor: pointer;
	transition: border-color .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease), opacity .25s var(--ease), transform .25s var(--ease);
}
.nz-round-btn .nz-icon { width: 16px; height: 10px; }
.nz-round-btn--prev .nz-icon { transform: scaleX(-1); }
.nz-round-btn:disabled { opacity: .3; cursor: default; }
.nz-round-btn:active:not(:disabled) { transform: scale(.94); transition-duration: .1s; }
@media (hover: hover) and (pointer: fine) {
	.nz-round-btn:not(:disabled):hover { border-color: var(--black); background: var(--black); color: var(--white); }
}

/* ---------- Header ---------- */

.nz-header { position: absolute; inset-inline: 0; top: 0; z-index: 20; color: var(--white); }
.admin-bar .nz-header:not(.is-fixed) { top: 32px; }

.nz-header__inner {
	display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
	padding: var(--header-pad);
	padding-inline: max(var(--pad-x), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
}

.nz-header__side { display: flex; align-items: center; gap: 28px; }
.nz-header__side--menu { justify-content: flex-end; gap: 30px; }

.nz-header__link { font-size: 13px; font-weight: 500; line-height: 22px; letter-spacing: .04em; transition: color .25s var(--ease), opacity .25s var(--ease); }
.nz-header__cta { display: inline-flex; align-items: center; gap: 10px; }
.nz-header__cta .nz-icon--arrow { width: 14px; height: 9px; transition: transform .25s var(--ease); }

@media (hover: hover) {
	.nz-header__link:hover { opacity: .65; }
	.nz-header__cta:hover .nz-icon--arrow { transform: translateX(-5px); }
}

/* LinkedIn (header, drawer, footer). */
.nz-social { display: inline-flex; position: relative; transition: opacity .25s var(--ease); }
.nz-social::after { content: ""; position: absolute; inset: -12px; } /* a bigger tap area */
.nz-social .nz-icon { width: 15px; height: 15px; fill: currentColor; }
@media (hover: hover) { .nz-social:hover { opacity: .6; } }

.nz-logo { display: block; line-height: 0; }
.nz-logo-svg { display: block; width: auto; height: 44px; transition: height .35s var(--ease); }

/* Hamburger: three 1px lines that step in on hover. */
.nz-burger {
	display: flex; padding: 10px; margin: -10px; border: 0; background: none; cursor: pointer;
}
.nz-burger__lines { position: relative; display: block; width: 22px; height: 12px; }
.nz-burger__lines > span {
	position: absolute; left: 0; right: 0; height: 1px; background: currentColor;
	transition: all .25s var(--ease-out);
}
.nz-burger__lines > span:nth-child(1) { top: 0; }
.nz-burger__lines > span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nz-burger__lines > span:nth-child(3) { bottom: 0; }

@media (hover: hover) {
	.nz-burger:hover .nz-burger__lines > span:nth-child(2) { right: 6px; }
	.nz-burger:hover .nz-burger__lines > span:nth-child(3) { right: 12px; }
}

@media (max-width: 991px) {
	.nz-header__email, .nz-header__cta { display: none; }
	.nz-logo-svg { height: 36px; }
}

@media (max-width: 767px) {
	.nz-header__inner { grid-template-columns: 1fr auto; }
	.nz-header__side--contact { display: none; }
	.nz-logo { justify-self: start; }
	.nz-logo-svg { height: 30px; }
}

/* Pages that start without a video: dark header from the start. */
.nz-header--dark { color: var(--black); }

/* Slim white bar once the first screen is scrolled past (classes set in main.js). */
.nz-header.is-fixed {
	position: fixed; background: rgba(255, 255, 255, .97); color: var(--black); transform: translateY(-100%);
	box-shadow: 0 1px 0 var(--line);
	-webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.admin-bar .nz-header.is-fixed { top: 32px; }
.nz-header.is-fixed .nz-header__inner { padding-block: 14px; }
.nz-header.is-fixed .nz-logo-svg { height: 32px; }
.nz-header.is-ready { transition: transform .35s var(--ease); }
.nz-header.is-shown { transform: translateY(0); }

@media (max-width: 767px) {
	.nz-header.is-fixed .nz-header__inner { padding-block: 12px; }
	.nz-header.is-fixed .nz-logo-svg { height: 26px; }
}

@media (max-width: 782px) {
	.admin-bar .nz-header:not(.is-fixed), .admin-bar .nz-header.is-fixed { top: 46px; }
}

/* ---------- Drawer menu ---------- */

.nz-overlay {
	position: fixed; inset: 0; z-index: 90; background: rgba(35, 31, 32, .35);
	opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s var(--ease);
}

.nz-drawer {
	position: fixed; top: 0; bottom: 0; left: 0; z-index: 100;
	display: flex; flex-direction: column; justify-content: space-between;
	width: 100%; max-width: 440px; padding: 60px; overflow-y: auto; overscroll-behavior: contain;
	padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px));
	background: var(--white); color: var(--black);
	transform: translateX(-100%); visibility: hidden;
	transition: transform .5s var(--ease-drawer), visibility 0s linear .5s;
}

.nz-drawer__close {
	position: relative; width: 20px; height: 20px; padding: 0; margin: -10px 0 0 -10px; box-sizing: content-box;
	border: 10px solid transparent; background: none; cursor: pointer; align-self: flex-start;
}
.nz-drawer__close::before, .nz-drawer__close::after {
	content: ""; position: absolute; top: 50%; left: 0; width: 20px; height: 1px; background: var(--black);
	transition: background .25s var(--ease);
}
.nz-drawer__close::before { transform: rotate(45deg); }
.nz-drawer__close::after { transform: rotate(-45deg); }
.nz-drawer__close:hover::before, .nz-drawer__close:hover::after { background: var(--text); }

.nz-drawer__nav { padding-block: 60px; }
.nz-drawer__home { display: inline-block; margin-bottom: 28px; transition: opacity .25s var(--ease); }
.nz-drawer__home .nz-mark { display: block; width: auto; height: 40px; }
.nz-drawer__home:hover { opacity: .7; }
.nz-drawer__list a {
	display: inline-block; padding: 7px 0;
	font-family: var(--font-display); font-weight: 500; font-size: 28px; line-height: 40px;
	transition: opacity .25s var(--ease);
}

/* Hovering one item fades the others. */
@media (hover: hover) and (min-width: 1200px) {
	.nz-drawer__list:hover a { opacity: .25; }
	.nz-drawer__list a:hover { opacity: 1; }
}

.nz-drawer__foot { display: flex; flex-direction: column; gap: 4px; color: var(--text); font-size: 14px; }
.nz-drawer__foot a { transition: color .25s var(--ease); }
.nz-drawer__foot a:hover { color: var(--black); }

/* Items rise in one after another as the drawer opens. */
.nz-drawer__home, .nz-drawer__list li, .nz-drawer__foot { opacity: 0; transform: translateY(10px); transition: opacity .4s var(--ease-out), transform .4s var(--ease-out); }

.nz-menu-open .nz-overlay { opacity: 1; visibility: visible; }
.nz-menu-open .nz-drawer { transform: translateX(0); visibility: visible; transition: transform .5s var(--ease-drawer), visibility 0s; }
.nz-menu-open .nz-drawer__home, .nz-menu-open .nz-drawer__list li, .nz-menu-open .nz-drawer__foot { opacity: 1; transform: none; }
.nz-menu-open .nz-drawer__home { transition-delay: .15s; }
.nz-menu-open .nz-drawer__list li:nth-child(1) { transition-delay: .19s; }
.nz-menu-open .nz-drawer__list li:nth-child(2) { transition-delay: .23s; }
.nz-menu-open .nz-drawer__list li:nth-child(3) { transition-delay: .27s; }
.nz-menu-open .nz-drawer__list li:nth-child(4) { transition-delay: .31s; }
.nz-menu-open .nz-drawer__list li:nth-child(5) { transition-delay: .35s; }
.nz-menu-open .nz-drawer__list li:nth-child(6) { transition-delay: .39s; }
.nz-menu-open .nz-drawer__list li:nth-child(7) { transition-delay: .43s; }
.nz-menu-open .nz-drawer__list li:nth-child(8) { transition-delay: .47s; }
.nz-menu-open .nz-drawer__foot { transition-delay: .5s; }

@media (max-width: 767px) {
	.nz-drawer { max-width: none; padding: 24px; padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)); }
	/* All eight items, the mark and the details fit one phone screen. */
	.nz-drawer__nav { padding-block: 20px; }
	.nz-drawer__home { margin-bottom: 14px; }
	.nz-drawer__home .nz-mark { height: 30px; }
	.nz-drawer__list a { padding: 2px 0; font-size: 21px; line-height: 30px; }
	.nz-drawer__foot { font-size: 13px; line-height: 24px; gap: 0; }
}

/* ---------- Page loader (home, first visit of the session) ---------- */

.nz-loader {
	position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center;
	background: var(--white); color: var(--black); pointer-events: none;
	animation: nz-loader-out .5s var(--ease) 1.8s forwards;
}
.nz-seen .nz-loader { display: none; }
.nz-loader__logo { opacity: 0; animation: nz-loader-logo 1.7s var(--ease) .1s forwards; }
.nz-loader__logo .nz-logo-svg { height: 52px; }
@keyframes nz-loader-logo { 0% { opacity: 0; transform: translateY(8px); } 20%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes nz-loader-out { to { opacity: 0; visibility: hidden; } }
@media (max-width: 767px) { .nz-loader__logo .nz-logo-svg { height: 36px; } }

/* ---------- Hero ---------- */

.nz-hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: var(--black); }
.nz-hero .nz-tint::after {
	opacity: 1;
	background:
		linear-gradient(180deg, rgba(92, 120, 145, .55) 0%, rgba(92, 120, 145, .22) 14%, rgba(92, 120, 145, 0) 28%), /* the sky's blue, deeper, under the header */
		linear-gradient(0deg, rgba(191, 171, 141, .9) 0%, rgba(191, 171, 141, .55) 30%, rgba(191, 171, 141, 0) 60%); /* sand rising from the foot */
}
.nz-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
/* The opening video (and its still) in muted colour. */
.nz-hero__video, .nz-hero .nz-cover-img { filter: saturate(.5) contrast(1.03); }

.nz-hero__text {
	position: relative; z-index: 2; display: flex; align-items: flex-end; justify-content: flex-start;
	height: 100%; padding: 120px var(--pad-x) 88px; color: var(--white);
}
.nz-hero__inner { width: 100%; max-width: 1040px; }
.nz-hero .nz-h1 { color: var(--white); font-size: 50px; line-height: 62px; }
.nz-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

/* Staggered entrance once the loader is gone. */
.nz-js .nz-hero__inner > * { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.nz-js .nz-hero__inner > :nth-child(1) { transition-delay: .6s; }
.nz-js .nz-hero__inner > :nth-child(2) { transition-delay: .85s; }
.nz-seen .nz-hero__inner > :nth-child(1) { transition-delay: .1s; }
.nz-seen .nz-hero__inner > :nth-child(2) { transition-delay: .3s; }
.nz-js .is-loaded .nz-hero__inner > * { opacity: 1; transform: none; }

@media (max-width: 1199px) { .nz-hero .nz-h1 { font-size: 40px; line-height: 52px; } }
@media (max-width: 767px) {
	/* On phones the headline runs to more lines and climbs higher: the sand rises with it, a touch deeper. */
	.nz-hero .nz-tint::after {
		background:
			linear-gradient(180deg, rgba(92, 120, 145, .55) 0%, rgba(92, 120, 145, .22) 12%, rgba(92, 120, 145, 0) 24%),
			linear-gradient(0deg, rgba(176, 156, 126, .85) 0%, rgba(176, 156, 126, .6) 35%, rgba(176, 156, 126, .3) 55%, rgba(176, 156, 126, 0) 75%);
	}
	.nz-hero__text { padding: 120px var(--pad-x) 56px; }
	.nz-hero .nz-h1 { font-size: 28px; line-height: 38px; }
	.nz-hero__actions { flex-direction: column; gap: 10px; margin-top: 32px; }
	.nz-hero__actions .nz-btn { width: 100%; padding-block: 11px; }
	.nz-hero__contact { display: none; } /* phones: one button; contact is a tap away in the menu and the footer */
}

/* ---------- About: the opening statement ---------- */

.nz-intro-lead { text-align: center; }
.nz-intro-lead::before { content: ""; display: block; width: 40px; height: 1px; margin: 0 auto 36px; background: var(--black); }
.nz-intro-lead__title {
	font-family: var(--font-display); font-weight: 500; font-size: 34px; line-height: 48px; color: var(--black); text-wrap: balance;
}
.nz-intro-lead p { max-width: 680px; margin: 28px auto 0; font-size: 16px; line-height: 30px; }

/* The rule draws in, then the words. */
.nz-js .nz-intro-lead::before { transform: scaleX(0); transition: transform .7s var(--ease-out) var(--base, 0s); }
.nz-js .nz-intro-lead.is-shown::before { transform: scaleX(1); }
.nz-js .nz-intro-lead[data-nz-reveal] > * { transition-delay: calc(var(--base, 0s) + .3s); }
.nz-js .nz-intro-lead[data-nz-reveal] > p { transition-delay: calc(var(--base, 0s) + .45s); }

@media (max-width: 767px) {
	.nz-intro-lead::before { margin-bottom: 28px; }
	.nz-intro-lead__title { font-size: 24px; line-height: 35px; }
	.nz-intro-lead p { margin-top: 20px; font-size: 15px; line-height: 28px; }
}

/* ---------- Sliders (services, projects) ---------- */

.nz-slider__nav { display: flex; align-items: center; gap: 10px; flex: none; }

.nz-slider {
	display: flex; gap: var(--gap); overflow-x: auto; overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; cursor: grab; outline-offset: 6px;
}
.nz-slider::-webkit-scrollbar { display: none; }
.nz-slider.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; }
.nz-slider.is-dragging > * { pointer-events: none; }
.nz-slider > * { scroll-snap-align: start; }
/* Projects run out to the far edge on wider screens, as if they carry on past the page. */
@media (min-width: 768px) {
	/* Past the side padding, and past the centred 1920px frame on very wide screens. */
	.nz-slider--projects { margin-inline-end: calc(-1 * (var(--pad-x) + max(0px, (100vw - 1920px) / 2))); }
	/* At the end of the row, the last photo keeps the page margin rather than touching the screen edge. */
	.nz-slider--projects::after { content: ""; flex: 0 0 calc(var(--pad-x) + max(0px, (100vw - 1920px) / 2) - var(--gap)); }
}
.nz-slider img { -webkit-user-drag: none; user-select: none; }

@media (max-width: 767px) {
	.nz-slider { margin-inline: calc(var(--pad-x) * -1); padding-inline: var(--pad-x); scroll-padding-inline: var(--pad-x); }
	.nz-section__head .nz-slider__nav { display: none; }
}

/* Services: tall photo cards, darkened, the step number on top and the words at the bottom. */
.nz-card {
	position: relative; display: flex; flex-direction: column; justify-content: space-between;
	flex: 0 0 calc((100% - 3 * var(--gap)) / 4); min-height: 30vw; padding: 36px 32px;
	overflow: hidden; background: var(--black); color: var(--white);
}
/* Darker at the foot, where the words sit; the photo stays clear above. */
.nz-card .nz-tint::after { opacity: 1; background: linear-gradient(0deg, rgba(35, 31, 32, .78) 0%, rgba(35, 31, 32, .3) 55%, rgba(35, 31, 32, .22) 100%); }
@media (hover: hover) { .nz-card.nz-zoom:hover .nz-tint::after { opacity: .9; } }
.nz-card__num { position: relative; z-index: 2; font-size: 13px; font-weight: 500; line-height: 22px; letter-spacing: .12em; color: rgba(255, 255, 255, .8); }
.nz-card__num::after { content: ""; display: inline-block; width: 28px; height: 1px; margin-inline-start: 12px; vertical-align: middle; background: currentColor; opacity: .6; }
.nz-card__title { position: relative; z-index: 2; font-family: var(--font-display); font-weight: 500; font-size: 24px; line-height: 34px; color: var(--white); text-wrap: balance; }
.nz-card .nz-cover-img { filter: grayscale(.25); }

@media (max-width: 1439px) { .nz-card { min-height: 34vw; } .nz-card__title { font-size: 22px; line-height: 32px; } }
@media (max-width: 1199px) { .nz-card { flex-basis: calc((100% - var(--gap)) / 2); min-height: 56vw; } }
@media (max-width: 767px) {
	.nz-card { flex-basis: 80%; min-height: 104vw; padding: 28px 24px; }
	.nz-card__title { font-size: 21px; line-height: 30px; }
}

/* Projects: the photo alone; on hover it darkens, zooms gently and the name rises in. */
.nz-project {
	position: relative; flex: 0 0 calc((100% - 2 * var(--gap)) / 2.5); aspect-ratio: 4 / 3; /* the third one half off the page */
	overflow: hidden; background: var(--black); color: var(--white); cursor: default;
}
.nz-project .nz-cover-img { transition: transform 1.2s var(--ease-out), opacity .6s var(--ease); }
.nz-project--left .nz-cover-img { object-position: 20% center; }
.nz-project--right .nz-cover-img { object-position: 80% center; }
.nz-project::after {
	content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
	background: linear-gradient(0deg, rgba(35, 31, 32, .82) 0%, rgba(35, 31, 32, .35) 50%, rgba(35, 31, 32, .15) 100%);
	opacity: 0; transition: opacity .6s var(--ease);
}
.nz-project__caption {
	position: absolute; inset-inline: 0; bottom: 0; z-index: 2; display: flex; flex-direction: column;
	padding: 48px 56px; opacity: 0; transform: translateY(18px);
	transition: opacity .5s var(--ease-out), transform .6s var(--ease-out);
}
.nz-project__num { font-size: 14px; font-weight: 500; line-height: 22px; letter-spacing: .12em; color: rgba(255, 255, 255, .8); }
.nz-project__num::after { content: ""; display: inline-block; width: 28px; height: 1px; margin-inline-start: 12px; vertical-align: middle; background: currentColor; opacity: .6; }
.nz-project__title { margin-top: 12px; font-family: var(--font-display); font-weight: 500; font-size: 42px; line-height: 52px; color: var(--white); text-wrap: balance; }
.nz-project__text { margin-top: 8px; font-size: 18px; line-height: 28px; color: rgba(255, 255, 255, .85); transition-delay: .05s; }

.nz-project:hover .nz-cover-img, .nz-project:focus-visible .nz-cover-img { transform: scale(1.05); }
.nz-project:hover::after, .nz-project:focus-visible::after { opacity: 1; }
.nz-project:hover .nz-project__caption, .nz-project:focus-visible .nz-project__caption { opacity: 1; transform: none; }
.nz-project:focus-visible { outline-offset: -1px; }

/* Touch screens have no hover: the name always shows over a soft foot gradient. */
@media (hover: none) {
	.nz-project::after { opacity: 1; background: linear-gradient(0deg, rgba(35, 31, 32, .75) 0%, rgba(35, 31, 32, 0) 60%); }
	.nz-project__caption { opacity: 1; transform: none; }
}

@media (max-width: 1439px) {
	.nz-project__caption { padding: 40px 44px; }
	.nz-project__title { font-size: 36px; line-height: 46px; }
	.nz-project__text { font-size: 17px; line-height: 27px; }
}
@media (max-width: 1199px) { .nz-project { flex-basis: calc((100% - var(--gap)) / 1.7); } }
@media (max-width: 767px) {
	.nz-project { flex-basis: 86%; aspect-ratio: 4 / 5; }
	.nz-project__caption { padding: 28px 24px; }
	.nz-project__title { font-size: 28px; line-height: 36px; }
	.nz-project__text { font-size: 15px; line-height: 24px; }
}

/* ---------- Tailored insurance: text beside a photo ---------- */

.nz-split { display: flex; }
.nz-split__text { width: 50%; min-height: 720px; display: flex; align-items: center; padding: var(--pad-section) var(--pad-x); }
.nz-split__inner { width: 100%; max-width: 900px; container-type: inline-size; }
.nz-split__inner > p { max-width: 640px; }
.nz-split__media .nz-cover-img { filter: grayscale(1) contrast(1.05); }
.nz-split__media { position: relative; width: 50%; overflow: hidden; background: var(--accent); }

.nz-tags__title { margin-top: 48px; font-size: 18px; line-height: 28px; letter-spacing: .02em; }
.nz-tags { --tag-line: #e4e2dc; /* a hair darker than the cream behind it */ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; margin-top: 12px; }
.nz-tag {
	display: flex; align-items: center; gap: 14px; padding-block: 12px;
	border-bottom: 1px solid var(--tag-line); color: var(--black); font-size: 14px; font-weight: 500; line-height: 22px;
}
.nz-tag__icon {
	display: flex; align-items: center; justify-content: center; flex: none; width: 38px; height: 38px;
	border-radius: 50%; background: var(--white);
	transition: background-color .35s var(--ease), color .35s var(--ease), transform .35s var(--ease-out);
}
.nz-tag__icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.nz-tag > span:last-child { transition: transform .35s var(--ease-out); }
/* No line under the last row: two columns, or three where the text column is wide enough. */
.nz-tag:nth-child(2n+1):nth-last-child(-n+2), .nz-tag:nth-child(2n+1):nth-last-child(-n+2) ~ .nz-tag { border-bottom: 0; }
@container (min-width: 760px) {
	.nz-tags { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.nz-tag:nth-child(2n+1):nth-last-child(-n+2), .nz-tag:nth-child(2n+1):nth-last-child(-n+2) ~ .nz-tag { border-bottom: 1px solid var(--tag-line); }
	.nz-tag:nth-child(3n+1):nth-last-child(-n+3), .nz-tag:nth-child(3n+1):nth-last-child(-n+3) ~ .nz-tag { border-bottom: 0; }
}
@media (hover: hover) and (pointer: fine) {
	.nz-tag:hover .nz-tag__icon { background: var(--black); color: var(--white); }
	.nz-tag:hover > span:last-child { transform: translateX(-4px); }
}

@media (max-width: 991px) {
	.nz-split { flex-direction: column; }
	.nz-split__text { width: 100%; min-height: 0; }
	.nz-split__media { order: -1; width: 100%; height: 60vw; }
}
@media (max-width: 767px) {
	.nz-split__media { height: 78vw; }
	.nz-tags__title { margin-top: 36px; font-size: 16px; line-height: 26px; }
	.nz-tags { column-gap: 16px; }
	.nz-tag { gap: 10px; padding-block: 10px; font-size: 13px; line-height: 19px; }
	.nz-tag__icon { width: 32px; height: 32px; }
	.nz-tag__icon svg { width: 14px; height: 14px; }
}

/* ---------- Team ---------- */

.nz-team-section { padding-top: 0; }
.nz-team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 72px var(--gap); align-items: start; }
.nz-member__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; margin-bottom: 24px; background: var(--soft); }
.nz-member__media img { object-position: 50% 0; filter: grayscale(1); transition: filter .6s var(--ease), transform .9s var(--ease-out); }
@media (hover: hover) {
	.nz-member:hover .nz-member__media img { filter: grayscale(0); transform: scale(1.03); }
}
/* No photo yet: the logo's mark, quietly. */
.nz-member__media--empty { display: flex; align-items: center; justify-content: center; }
.nz-member__mark { color: #e8e6df; } /* a quiet cream, just darker than the box */
.nz-member__mark .nz-mark { display: block; width: auto; height: 72px; }
.nz-member .nz-h3 { font-size: 26px; line-height: 34px; }
.nz-member__role { display: block; margin-top: 2px; font-size: 13px; font-weight: 500; line-height: 22px; letter-spacing: .02em; color: var(--text); }

/* The bio opens on demand. */
.nz-member__bio { margin-top: 18px; border-top: 1px solid var(--line); }
.nz-member__bio summary { list-style: none; display: flex; justify-content: space-between; width: 100%; padding-block: 14px; }
.nz-member__bio summary::-webkit-details-marker { display: none; }
.nz-member__plus { position: relative; width: 11px; height: 11px; flex: none; }
.nz-member__plus::before, .nz-member__plus::after { content: ""; position: absolute; top: 50%; left: 0; width: 11px; height: 1px; background: currentColor; transition: transform .3s var(--ease-out); }
.nz-member__plus::after { transform: rotate(90deg); }
.nz-member__bio[open] .nz-member__plus::after { transform: rotate(0deg); }
.nz-member__bio-text { padding-bottom: 8px; }
.nz-member__bio-text p + p { margin-top: 1em; }
.nz-member__bio[open] .nz-member__bio-text { animation: nz-fade-down .45s var(--ease-out); }
@keyframes nz-fade-down { from { opacity: 0; transform: translateY(-6px); } }

@media (max-width: 991px) { .nz-team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
	.nz-team { grid-template-columns: 1fr; gap: 48px; }
	.nz-member__media { aspect-ratio: 1; }
	.nz-member .nz-h3 { font-size: 22px; line-height: 30px; }
}

/* ---------- Client logos: an endless strip ---------- */

.nz-logos { padding-block: 72px 96px; border-bottom: 1px solid var(--line); }
.nz-logos__title { margin-bottom: 48px; text-align: center; font-family: var(--font-display); font-weight: 500; font-size: 34px; line-height: 44px; letter-spacing: 0; color: var(--black); }
.nz-logos__viewport {
	overflow: hidden; direction: ltr;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
/* Two identical sets side by side, each sliding its own width, so the loop is seamless.
   Each set moves by itself (not one long track): iPhones don't draw very wide moving layers in full. */
.nz-logos__track { display: flex; width: max-content; }
.nz-logos__set {
	display: flex; flex-shrink: 0; align-items: center; gap: 96px; padding-right: 96px;
	animation: nz-logos var(--nz-logos-duration, 120s) linear infinite;
}
.nz-logos__viewport:hover .nz-logos__set { animation-play-state: paused; }
.nz-logos__set img {
	width: auto; max-width: 250px; height: 110px; object-fit: contain;
	filter: grayscale(1); opacity: .6; transition: filter .4s var(--ease), opacity .4s var(--ease);
}
.nz-logos__set img:hover { filter: none; opacity: 1; }
@keyframes nz-logos { to { transform: translateX(-100%); } }

@media (max-width: 767px) {
	.nz-logos { padding-block: 48px 64px; }
	.nz-logos__title { margin-bottom: 32px; font-size: 26px; line-height: 34px; }
	.nz-logos__viewport { -webkit-mask-image: none; mask-image: none; }
	.nz-logos__set { gap: 28px; padding-right: 28px; }
	.nz-logos__set img { max-width: 150px; height: 70px; }
}

/* ---------- Community ---------- */

.nz-community__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 120px; align-items: start; }
.nz-listing__item { display: flex; flex-direction: column; padding: 24px 0; border-bottom: 1px solid var(--line); }
.nz-listing__item:first-child { padding-top: 0; }
.nz-listing__title { font-family: var(--font-display); font-weight: 500; font-size: 24px; line-height: 34px; color: var(--black); }
.nz-listing__meta { margin-top: 4px; font-size: 14px; line-height: 25px; }
.nz-community__note { margin-top: 32px; font-size: 14px; color: var(--black); }

@media (max-width: 991px) {
	.nz-community__grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 767px) {
	.nz-listing__title { font-size: 20px; line-height: 30px; }
}

/* ---------- Inner pages (privacy, accessibility) ---------- */

.nz-banner { display: flex; align-items: flex-end; min-height: 380px; padding: 160px var(--pad-x) 64px; background: var(--soft); }
.nz-banner__text { width: 100%; max-width: 860px; margin-inline: auto; }
.nz-banner .nz-h1 { font-size: 56px; line-height: 64px; }

.nz-content { font-size: 16px; line-height: 30px; }
.nz-content > * + * { margin-top: 1.1em; }
.nz-content h2 { margin-top: 2.2em; font-family: var(--font-display); font-weight: 500; font-size: 26px; line-height: 36px; color: var(--black); }
.nz-content h2 + * { margin-top: .6em; }
.nz-content strong { font-weight: 500; color: var(--black); }
.nz-content ul { padding-inline-start: 1.2em; list-style: disc; }
.nz-content li + li { margin-top: .4em; }
.nz-content a { color: var(--black); border-bottom: 1px solid currentColor; }

@media (max-width: 767px) {
	.nz-banner { min-height: 260px; padding: 120px var(--pad-x) 40px; }
	.nz-banner .nz-h1 { font-size: 36px; line-height: 44px; }
	.nz-content { font-size: 15px; line-height: 28px; }
	.nz-content h2 { font-size: 22px; line-height: 32px; }
}

/* ---------- Footer and contact form ---------- */

.nz-footer { background: var(--accent); color: var(--on-accent); }
.nz-footer .nz-title { color: var(--white); }
.nz-footer a, .nz-footer dd { color: var(--white); }
.nz-footer ::selection { background: var(--white); color: var(--black); }
.nz-footer :focus-visible { outline-color: var(--white); }
.nz-footer__top { display: grid; grid-template-columns: 5fr 7fr; gap: 120px; padding: var(--pad-section) var(--pad-x); }
.nz-footer__contact .nz-title { margin-bottom: 20px; }
.nz-footer__details { display: grid; gap: 26px; margin: 48px 0 0; }
.nz-footer__details dt { font-size: 12px; font-weight: 500; line-height: 20px; letter-spacing: .08em; color: var(--on-accent); }
.nz-footer__details dd { margin: 2px 0 0; font-size: 18px; line-height: 28px; color: var(--white); }
.nz-footer__details a { transition: opacity .25s var(--ease); }
.nz-footer__details a:hover { opacity: .6; }
.nz-footer__social { margin-top: 36px; }
.nz-footer__social .nz-social { color: var(--white); }
.nz-footer__social .nz-social .nz-icon { width: 20px; height: 20px; }
.nz-footer .nz-field label, .nz-footer .nz-consent label { color: var(--on-accent); }
.nz-footer .nz-field input, .nz-footer .nz-field textarea { border-color: var(--line-on-accent); color: var(--white); caret-color: var(--white); }
.nz-footer .nz-field input:focus, .nz-footer .nz-field textarea:focus { border-color: var(--white); }
.nz-footer .nz-consent input[type="checkbox"] { accent-color: var(--white); }
.nz-footer .nz-consent a { color: var(--white); }
/* On sand the send button is white; black rises on hover. */
.nz-footer .nz-btn { background: var(--white); border-color: var(--white); color: var(--black); }
.nz-footer .nz-btn::before { background: var(--black); }
@media (hover: hover) { .nz-footer .nz-btn:hover { color: var(--white); border-color: var(--black); } }
.nz-footer .nz-notice { background: rgba(255, 255, 255, .16); color: var(--white); }
.nz-drawer__social { margin-top: 20px; color: var(--black); }

/* On wide screens the form keeps a comfortable width instead of filling its column. */
.nz-footer__form { width: 100%; max-width: 720px; }
.nz-form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.nz-field { display: flex; flex-direction: column; margin: 0 0 30px; }
.nz-field--wide { grid-column: 1 / -1; }
.nz-field label { font-size: 13px; line-height: 20px; color: var(--text); }
.nz-field input, .nz-field textarea {
	width: 100%; padding: 10px 0; border: 0; border-bottom: 1px solid var(--control); border-radius: 0;
	background: transparent; color: var(--black); font: inherit; font-size: 16px; outline: 0;
	transition: border-color .25s var(--ease);
}
.nz-field input:focus, .nz-field textarea:focus { border-color: var(--black); }
.nz-field textarea { resize: vertical; min-height: 96px; }
.nz-field .nz-btn { justify-self: start; align-self: flex-start; min-width: 160px; }
.nz-hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.nz-field.nz-consent { flex-direction: row; align-items: flex-start; gap: 12px; }
.nz-consent input[type="checkbox"] { flex: none; width: 18px; height: 18px; margin: 3px 0 0; padding: 0; accent-color: var(--black); cursor: pointer; }
.nz-consent label { font-size: 13px; line-height: 22px; cursor: pointer; }
.nz-consent a { color: var(--black); border-bottom: 1px solid currentColor; transition: border-color .25s var(--ease); }
.nz-consent a:hover { border-color: transparent; }

.nz-notice { margin-bottom: 32px; padding: 14px 20px; background: var(--white); color: var(--black); }
.nz-notice--error { box-shadow: inset 0 0 0 1px #b3261e; }

.nz-footer__bottom {
	display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
	padding: 32px var(--pad-x); border-top: 1px solid var(--line-on-accent); font-size: 13px;
}
.nz-footer__legal { display: flex; align-items: center; gap: 22px; font-weight: 500; color: var(--white); }
.nz-footer__legal a + a::before { content: ""; display: inline-block; width: 1px; height: 12px; margin-inline-end: 22px; vertical-align: -1px; background: var(--line-on-accent); }
.nz-footer__credit { justify-self: end; }
.nz-footer__legal a, .nz-footer__credit { transition: color .25s var(--ease); }
.nz-footer__legal a:hover, .nz-footer__credit:hover, .nz-footer__legal [aria-current] { opacity: .7; }

@media (max-width: 1199px) {
	.nz-footer__top, .nz-community__grid { gap: 80px; }
}
@media (max-width: 991px) {
	.nz-footer__top { grid-template-columns: 1fr; gap: 56px; }
	.nz-footer__bottom { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 16px; }
	.nz-footer__credit { justify-self: center; }
}
@media (max-width: 600px) {
	.nz-footer__top { gap: 40px; padding-bottom: 44px; }
	.nz-footer__details { gap: 14px; margin-top: 28px; }
	.nz-footer__details dt { font-size: 11px; line-height: 18px; }
	.nz-footer__details dd { font-size: 15px; line-height: 24px; margin-top: 0; }
	.nz-footer__social { margin-top: 24px; }
	.nz-form { grid-template-columns: 1fr; }
	.nz-field { margin-bottom: 18px; }
	.nz-field input, .nz-field textarea { padding-block: 6px; }
	.nz-field textarea { min-height: 72px; }
	.nz-field.nz-consent { margin-top: 6px; }
	.nz-field .nz-btn { width: 100%; }
	.nz-footer__bottom { gap: 8px; padding: 22px var(--pad-x) calc(26px + env(safe-area-inset-bottom, 0px)); font-size: 12px; }
	.nz-footer__legal { gap: 16px; }
	.nz-footer__legal a + a::before { margin-inline-end: 16px; }
}

/* ---------- Floating WhatsApp (bottom left; the accessibility button sits on the other side) ---------- */

.nz-wa {
	position: fixed; z-index: 80; left: 24px; bottom: calc(24px + env(safe-area-inset-bottom, 0px));
	display: flex; align-items: center; justify-content: center; width: 56px; height: 56px;
	border-radius: 50%; background: var(--black); color: var(--white);
	box-shadow: 0 6px 20px rgba(35, 31, 32, .16), 0 1px 3px rgba(35, 31, 32, .08);
	transition: transform .2s var(--ease-out), opacity .3s var(--ease-out);
	animation: nz-wa-in .5s var(--ease-out) .8s both;
}
.nz-wa .nz-icon { width: 24px; height: 24px; fill: currentColor; }
.nz-wa:active { transform: scale(.94); transition-duration: .1s; }
@media (hover: hover) and (pointer: fine) { .nz-wa:hover { transform: scale(1.06); } }
@keyframes nz-wa-in { from { opacity: 0; transform: scale(.9) translateY(8px); } }
.nz-menu-open .nz-wa { opacity: 0; pointer-events: none; }
@media (max-width: 767px) { .nz-wa { left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: 52px; height: 52px; } }

/* ---------- Scroll reveal ---------- */

/* --base: set by main.js for what's on screen when the page opens, so it arrives in reading order. */
.nz-js [data-nz-reveal] > * { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: var(--base, 0s); }
.nz-js [data-nz-reveal] > :nth-child(2) { transition-delay: calc(var(--base, 0s) + .08s); }
.nz-js [data-nz-reveal] > :nth-child(3) { transition-delay: calc(var(--base, 0s) + .16s); }
.nz-js [data-nz-reveal] > :nth-child(4) { transition-delay: calc(var(--base, 0s) + .24s); }
.nz-js [data-nz-reveal] > :nth-child(n+5) { transition-delay: calc(var(--base, 0s) + .32s); }
.nz-js [data-nz-reveal].is-shown > * { opacity: 1; transform: none; }

/* ---------- Touch: taps fire at once, labels don't get selected ---------- */

a, button, summary, label { touch-action: manipulation; }
button, .nz-btn, .nz-round-btn, summary { user-select: none; -webkit-user-select: none; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
	html { scroll-behavior: auto; }
	.nz-loader { display: none; }
	.nz-logos__viewport { overflow-x: auto; }
	.nz-logos__set { animation: none; }
}
