/* Template "Nuit" (Premium, several pages), after the mock-ups "Template 1 — Accueil, Portfolio, Shooting, Contact". */
body.tpl-nuit {
	--nt-bg: #1b1e20;
	--nt-deep: #0f1112;
	--nt-line: #3a4045;
	--nt-text: #fff;
	--nt-muted: #a2a9b0;
	--nt-side: 60px;
	--nt-title: var(--folio-font-heading, "Palanquin Dark", "Montserrat", sans-serif);
	background: var(--nt-bg);
	color: var(--nt-muted);
	font-family: "Montserrat", system-ui, sans-serif;
}
.tpl-nuit a { color: inherit; }
.tpl-nuit .folio-main { padding: 68px 0 5rem var(--nt-side); }
.tpl-nuit .nt-wrap { width: min(100% - 3rem, 1146px); margin-inline: auto; }

/* Top bar and social column */
.tpl-nuit .nt-bar { position: fixed; inset: 0 0 auto 0; z-index: 30; height: 68px; background: var(--nt-deep); }
.tpl-nuit .nt-bar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; width: min(100% - 3rem, 1146px); height: 100%; margin-inline: auto; padding-left: var(--nt-side); box-sizing: content-box; }
.tpl-nuit .nt-bar__name { color: var(--nt-text); font-size: 18px; font-weight: 600; text-decoration: none; }
.tpl-nuit .nt-nav { display: flex; gap: 1.6rem; }
.tpl-nuit .nt-nav a { color: var(--nt-text); font-size: 14px; font-weight: 600; letter-spacing: .02em; text-decoration: none; text-transform: uppercase; opacity: .88; }
.tpl-nuit .nt-nav a:hover, .tpl-nuit .nt-nav a[aria-current] { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.tpl-nuit .nt-side { position: fixed; top: 68px; bottom: 0; left: 0; z-index: 20; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.5rem; width: var(--nt-side); background: var(--nt-deep); }
.tpl-nuit .nt-side a { display: inline-flex; color: #c9ced3; font-size: 19px; transition: color .15s; }
.tpl-nuit .nt-side a:hover { color: #fff; }
.tpl-nuit .nt-side svg { width: 1em; height: 1em; }

/* Type and buttons */
.tpl-nuit .nt-h1 { color: var(--nt-text); font: 700 clamp(2.2rem, 4.5vw, 3.1rem) / 1.1 var(--nt-title); }
.tpl-nuit .nt-h1--center { text-align: center; }
.tpl-nuit .nt-h2 { margin-bottom: 1rem; color: var(--nt-text); font: 700 clamp(1.8rem, 3vw, 2.2rem) / 1.15 var(--nt-title); }
.tpl-nuit .nt-kicker { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; font-size: 14px; }
.tpl-nuit .nt-kicker::before { content: ""; width: 60px; height: 1px; background: var(--nt-muted); }
.tpl-nuit .nt-btn { display: inline-flex; align-items: center; padding: .6rem 1.2rem; border: 1px solid #e3e5e7; border-radius: 4px; color: var(--nt-text); font-size: 15px; font-weight: 600; text-decoration: none; transition: background .15s, color .15s; }
.tpl-nuit .nt-btn:hover { background: #fff; color: #111; }
.tpl-nuit .nt-btn--solid { padding: .85rem 1.9rem; border: 0; border-radius: 10px; background: #fff; color: #111; font: 600 16px / 1 "Montserrat", sans-serif; cursor: pointer; }
.tpl-nuit .nt-btn--solid:hover { background: #e7e9eb; }

/* Home */
.tpl-nuit .nt-hero { position: relative; overflow: hidden; padding: 3rem 0 2.5rem; }
.tpl-nuit .nt-hero__ghost { position: absolute; top: 4.2rem; left: 0; z-index: 0; display: flex; width: max-content; margin: 0; color: rgba(255, 255, 255, .07); font: 700 clamp(4rem, 8vw, 6.5rem) / 1 var(--nt-title); white-space: nowrap; animation: nt-ghost 60s linear infinite; pointer-events: none; user-select: none; }
.tpl-nuit .nt-hero__ghost span { padding-right: .3em; }
@keyframes nt-ghost { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .tpl-nuit .nt-hero__ghost { animation: none; } }
.tpl-nuit .nt-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 455px) minmax(0, 1fr); gap: 2.5rem; align-items: center; }
.tpl-nuit .nt-hero__photo img { display: block; width: 100%; aspect-ratio: 455 / 680; border-radius: 16px; object-fit: cover; }
.tpl-nuit .nt-hero__text .nt-h1 { margin-bottom: 1.4rem; }
.tpl-nuit .nt-lead { margin-bottom: 1.6rem; font-size: 15px; line-height: 1.7; }
.tpl-nuit .nt-lead p + p { margin-top: .8rem; }
.tpl-nuit .nt-card { padding: 1.4rem 1rem; border: 1px solid var(--nt-line); border-radius: 8px; text-align: center; }
.tpl-nuit .nt-card__label { margin-bottom: .35rem; color: var(--nt-text); font-size: 15px; font-weight: 600; }
.tpl-nuit .nt-card__value { font-size: 14.5px; line-height: 1.6; }
.tpl-nuit .nt-card__value a { text-decoration: none; }
.tpl-nuit .nt-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.6rem; margin-top: 2rem; }
.tpl-nuit .nt-about { max-width: 52rem; margin-top: 4rem; font-size: 15px; line-height: 1.75; }
.tpl-nuit .nt-about p + p { margin-top: 1rem; }
.tpl-nuit .nt-teaser { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 2.5rem; align-items: start; margin-top: 7rem; }
.tpl-nuit .nt-teaser__text p { margin-bottom: 1.6rem; font-size: 15px; line-height: 1.65; }
.tpl-nuit .nt-reach { margin-top: 7rem; }
.tpl-nuit .nt-reach .nt-h2 { margin-bottom: 1.6rem; }
.tpl-nuit .nt-reach__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; margin-bottom: 1.6rem; }

/* Photos in columns (home and album pages) */
.tpl-nuit .nt-masonry { column-gap: 1rem; }
.tpl-nuit .nt-masonry--2 { column-count: 2; }
.tpl-nuit .nt-masonry--3 { column-count: 3; margin-top: 2.5rem; }
.tpl-nuit .nt-photo { display: block; margin-bottom: 1rem; overflow: hidden; border-radius: 6px; break-inside: avoid; }
.tpl-nuit .nt-photo img { display: block; width: 100%; height: auto; transition: transform .4s; }
.tpl-nuit .nt-photo:hover img { transform: scale(1.03); }

/* Portfolio, album and contact pages */
.tpl-nuit .nt-head { padding-top: 4.5rem; text-align: center; }
.tpl-nuit .nt-crumbs { display: inline-flex; align-items: center; gap: .55rem; margin-bottom: .8rem; padding: .45rem .9rem; border: 1px solid var(--nt-line); border-radius: 6px; font-size: 15px; }
.tpl-nuit .nt-crumbs a { display: inline-flex; text-decoration: none; }
.tpl-nuit .nt-crumbs a:hover { color: #fff; }
.tpl-nuit .nt-intro { max-width: 58rem; margin: 2.2rem auto 0; font-size: 17px; line-height: 1.6; }
.tpl-nuit .nt-intro__strong { color: #e4e7ea; font-size: 15px; font-weight: 600; }
.tpl-nuit .nt-intro p + p { margin-top: .9rem; }
.tpl-nuit .nt-albums { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.8rem; margin-top: 3rem; }
.tpl-nuit .nt-album { position: relative; display: block; flex: 0 1 calc((100% - 3.6rem) / 3); aspect-ratio: 363 / 500; overflow: hidden; border-radius: 16px; background: var(--nt-deep); text-decoration: none; }
.tpl-nuit .nt-album img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.tpl-nuit .nt-album:hover img { transform: scale(1.04); }
.tpl-nuit .nt-album::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(10, 12, 14, .75)); }
.tpl-nuit .nt-album__text { position: absolute; right: 1.5rem; bottom: 1.6rem; left: 1.6rem; z-index: 1; display: grid; gap: .3rem; }
.tpl-nuit .nt-album__title { color: #fff; font-size: 24px; font-weight: 600; }
.tpl-nuit .nt-album__count { color: #c9ced3; font-size: 15px; }
.tpl-nuit .nt-pager { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3.5rem; }
.tpl-nuit .nt-pager a { color: #d8dce0; font-size: 18px; font-weight: 600; text-decoration: none; }
.tpl-nuit .nt-pager a:hover { color: #fff; }
.tpl-nuit .nt-pager__next { margin-left: auto; }
.tpl-nuit .nt-contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 3rem; margin-top: 3rem; }
.tpl-nuit .nt-contact__details { display: grid; gap: 2.4rem; align-content: start; }
.tpl-nuit .nt-contact__label { margin-bottom: .9rem; color: #fff; font: 600 21px / 1.2 "Montserrat", sans-serif; letter-spacing: .02em; text-transform: uppercase; }
.tpl-nuit .nt-contact__details p { font-size: 16px; }
.tpl-nuit .nt-contact__details a { text-decoration: none; }
.tpl-nuit .nt-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 1rem; align-content: start; margin: 0; padding: 0; border: 0; background: none; }
.tpl-nuit .nt-form label { display: grid; gap: .55rem; color: var(--nt-muted); font-size: 16px; font-weight: 400; }
.tpl-nuit .folio-cform__wide { grid-column: 1 / -1; }
.tpl-nuit .folio-req { color: #e5484d; }
.tpl-nuit .nt-form input, .tpl-nuit .nt-form textarea { width: 100%; padding: .8rem 1rem; border: 1px solid #484e54; border-radius: 6px; background: transparent; color: #fff; font: inherit; font-size: 15px; }
.tpl-nuit .nt-form textarea { min-height: 6rem; resize: vertical; }
.tpl-nuit .nt-form input:focus, .tpl-nuit .nt-form textarea:focus { outline: 0; border-color: #c9ced3; }
.tpl-nuit .folio-cform__note { font-size: 12.5px; opacity: .75; }
.tpl-nuit .folio-cform__foot { display: grid; justify-items: center; gap: 1.2rem; }
.tpl-nuit .folio-contact__status { text-align: center; }

/* Engine parts on a dark background */
.tpl-nuit .folio-cv { display: inline-block; margin-top: 1.5rem; color: #fff; }
.tpl-nuit .folio-credit { background: var(--nt-deep); color: #8d96a5; }

@media (max-width: 1000px) {
	.tpl-nuit .nt-album { flex-basis: calc((100% - 1.8rem) / 2); }
	.tpl-nuit .nt-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
	.tpl-nuit .nt-teaser, .tpl-nuit .nt-contact { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
	body.tpl-nuit { --nt-side: 0px; }
	.tpl-nuit .folio-main { padding-top: 60px; }
	.tpl-nuit .nt-bar { height: 60px; }
	.tpl-nuit .nt-bar__inner { width: calc(100% - 2rem); }
	.tpl-nuit .nt-bar__name { min-width: 0; overflow: hidden; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
	.tpl-nuit .nt-nav a { white-space: nowrap; }
	.tpl-nuit .nt-nav { gap: .9rem; }
	.tpl-nuit .nt-nav a { font-size: 12px; }
	.tpl-nuit .nt-side { position: static; flex-direction: row; width: auto; height: auto; padding: .9rem 0; background: transparent; }
	.tpl-nuit .nt-hero__grid { grid-template-columns: 1fr; }
	.tpl-nuit .nt-hero__photo { max-width: 420px; }
	.tpl-nuit .nt-reach__grid { grid-template-columns: 1fr; gap: 1rem; }
	.tpl-nuit .nt-masonry--3 { column-count: 2; }
	.tpl-nuit .nt-teaser, .tpl-nuit .nt-reach { margin-top: 4.5rem; }
}
@media (max-width: 520px) {
	.tpl-nuit .nt-wrap { width: calc(100% - 2rem); }
	.tpl-nuit .nt-nav { gap: .7rem; }
	.tpl-nuit .nt-form { grid-template-columns: 1fr; }
	.tpl-nuit .nt-album { flex-basis: 100%; }
	.tpl-nuit .nt-masonry--2 { column-count: 1; }
}
