@font-face {
	font-family: "Montserrat";
	font-style: normal;
	font-weight: 200;
	font-display: swap;
	src: url("fonts/montserrat-latin-200-normal.woff2") format("woff2");
}
@font-face {
	font-family: "Montserrat";
	font-style: normal;
	font-weight: 300;
	font-display: swap;
	src: url("fonts/montserrat-latin-300-normal.woff2") format("woff2");
}
@font-face {
	font-family: "Montserrat";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("fonts/montserrat-latin-400-normal.woff2") format("woff2");
}

:root {
	--nv-ink: #111;
	--nv-bg: #fff;
	--nv-row-h: clamp(150px, 22vh, 250px);
	--nv-gap: 10px;
}

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

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--nv-bg);
	color: var(--nv-ink);
	font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
	font-weight: 300;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

/* ---------- Opening ---------- */
.nv-hero {
	position: relative;
	height: 100vh;
	height: 100svh;
	min-height: 420px;
	overflow: hidden;
	background: #1a1a1a;
	display: grid;
	place-items: center;
}
.nv-hero-video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.nv-hero-shade {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.36);
}
.nv-hero-text {
	position: relative;
	padding: 0 24px;
	text-align: center;
	color: #fff;
	max-width: 1200px;
}
.nv-name {
	margin: 0;
	font-weight: 200;
	font-size: clamp(2.3rem, 9vw, 8.5rem);
	letter-spacing: 0.22em;
	margin-right: -0.22em; /* keeps the spaced word optically centred */
	line-height: 1;
}
.nv-kicker {
	margin: clamp(1.4rem, 3.5vh, 2.6rem) 0 0;
	font-weight: 300;
	font-size: clamp(0.68rem, 1.15vw, 0.95rem);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	line-height: 1.6;
	text-wrap: balance;
}
.nv-intro {
	margin: 0.9rem auto 0;
	max-width: 34em;
	font-weight: 300;
	font-size: clamp(0.92rem, 1.4vw, 1.15rem);
	line-height: 1.55;
	text-wrap: balance;
}
.nv-down {
	position: absolute;
	left: 50%;
	bottom: 22px;
	transform: translateX(-50%);
	background: none;
	border: 0;
	padding: 10px;
	color: #fff;
	cursor: pointer;
	opacity: 0.85;
	animation: nv-bob 2.4s ease-in-out infinite;
}
.nv-down:hover { opacity: 1; }
@keyframes nv-bob {
	0%, 100% { transform: translate(-50%, 0); }
	50% { transform: translate(-50%, 7px); }
}

/* ---------- Strip ---------- */
.nv-strip {
	padding: clamp(48px, 9vh, 110px) 0 0;
	display: grid;
	gap: var(--nv-gap);
}
.nv-row {
	overflow: hidden;
	height: var(--nv-row-h);
}
.nv-track {
	display: flex;
	gap: var(--nv-gap);
	height: 100%;
	width: max-content;
	will-change: transform;
}
.nv-clip {
	flex: none;
	height: 100%;
	padding: 0;
	border: 0;
	background: #eee;
	cursor: pointer;
	overflow: hidden;
	display: block;
}
.nv-clip video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	pointer-events: none;
	transition: opacity 0.2s;
}
.nv-clip:hover video,
.nv-clip:focus-visible video { opacity: 0.85; }
.nv-clip:focus-visible { outline: 2px solid var(--nv-ink); outline-offset: 2px; }

/* ---------- Clients ---------- */
.nv-clients {
	padding: clamp(64px, 12vh, 140px) 24px 0;
	max-width: 1100px;
	margin: 0 auto;
}
.nv-clients ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.3em 1.3em;
	font-size: clamp(1rem, 1.9vw, 1.55rem);
	font-weight: 300;
	line-height: 1.35;
	text-align: center;
}
.nv-clients li { display: inline; }
.nv-clients a { color: inherit; text-decoration: none; border-bottom: 1px solid transparent; }
.nv-clients a:hover { border-bottom-color: currentColor; }

/* ---------- Contact ---------- */
.nv-contact {
	padding: clamp(56px, 10vh, 120px) 24px clamp(64px, 12vh, 140px);
	text-align: center;
}
.nv-contact p {
	margin: 0 0 0.6rem;
	font-size: clamp(0.88rem, 1.2vw, 1rem);
	color: #555;
}
.nv-contact a {
	color: var(--nv-ink);
	font-weight: 400;
	font-size: clamp(1rem, 1.6vw, 1.25rem);
	letter-spacing: 0.02em;
	text-decoration: none;
	border-bottom: 1px solid currentColor;
	padding-bottom: 2px;
	word-break: break-word;
}
.nv-contact a:hover { opacity: 0.65; }

/* ---------- Lightbox ---------- */
.nv-lightbox {
	position: fixed;
	inset: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.94);
	display: grid;
	place-items: center;
	padding: 56px 16px 24px;
}
.nv-lightbox[hidden] { display: none; }
.nv-lightbox figure {
	margin: 0;
	max-width: min(1280px, 92vw);
}
.nv-lightbox video {
	display: block;
	max-width: 100%;
	max-height: 78vh;
	margin: 0 auto;
	background: #000;
}
.nv-lightbox figcaption {
	margin-top: 14px;
	font-size: 1rem;
	text-align: center;
}
.nv-lightbox figcaption:empty { display: none; }
.nv-close {
	position: absolute;
	top: 12px;
	right: 12px;
	background: none;
	border: 0;
	padding: 10px;
	color: var(--nv-ink);
	cursor: pointer;
}

@media (max-width: 700px) {
	:root { --nv-row-h: 118px; --nv-gap: 6px; }
	.nv-name { font-size: 11vw; }
	.nv-clients ul { gap: 0.35em 1em; }
}

/* People who ask their system for less motion: rows don't slide, they can be scrolled by hand */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.nv-down { animation: none; }
	.nv-row { overflow-x: auto; }
}
