/*	============================================================ */
/*	#region *** NIGHT SKY :: the stars */
/*	============================================================ */
	/* the stars :: a clear night sky - small stars coming and going in the bar, the cover photograph in a circle rising like a moon over a field of stars,
	the galleries as stars joined by thin lines like a constellation, a star falling across the foot */

	html[data-template="night-strip"] {
		--ns-light:								var(--ws-accent);
		--ns-sky:								rgb(4, 5, 10);
		--ns-stars:								radial-gradient(1px 1px at 20px 30px, rgb(255, 255, 255), transparent), radial-gradient(1px 1px at 90px 70px, rgba(255, 255, 255, 0.8), transparent), radial-gradient(1.5px 1.5px at 160px 20px, rgb(255, 255, 255), transparent), radial-gradient(1px 1px at 200px 120px, rgba(255, 255, 255, 0.7), transparent), radial-gradient(1px 1px at 60px 150px, rgba(255, 255, 255, 0.9), transparent), radial-gradient(1.5px 1.5px at 130px 160px, rgba(207, 216, 255, 0.9), transparent), radial-gradient(1px 1px at 240px 60px, rgba(255, 255, 255, 0.6), transparent);
	}

	html[data-template="night-strip"] body {
		background:								var(--ns-sky);
	}

	html[data-template="night-strip"] h1,
	html[data-template="night-strip"] h2,
	html[data-template="night-strip"] h3 {
		font-weight:							400;
		letter-spacing:							0.06em;
	}

	/* the header :: a night bar with small stars coming and going in it, the name in spaced letters */
	html[data-template="night-strip"] .tpl__head--starbar {
		position:								relative;
		padding:								20px var(--ws-gap);
		display:								flex;
		align-items:							center;
		justify-content:						space-between;
		gap:									20px;
		overflow:								hidden;

		border-bottom:							1px solid rgba(207, 216, 255, 0.12);
		background:								var(--ns-sky);
	}

	html[data-template="night-strip"] .tpl__stars {
		position:								absolute;
		inset:									0;

		background:								var(--ns-stars);
		background-size:						260px 180px;

		animation:								ns-twinkle 5s ease-in-out infinite alternate;
		pointer-events:							none;
	}

	@keyframes ns-twinkle {
		from {
			opacity:							0.35;
		}

		to {
			opacity:							1;
		}
	}

	html[data-template="night-strip"] .tpl__head--starbar .ws__brand {
		position:								relative;
	}

	html[data-template="night-strip"] .tpl__head--starbar .ws__brandname {
		color:									rgb(240, 242, 255);
		font-family:							var(--ws-ff-head);
		font-size:								16px;
		font-weight:							400;
		letter-spacing:							0.4em;
		text-transform:							uppercase;
	}

	html[data-template="night-strip"] .tpl__head--starbar .ws__nav {
		position:								relative;
	}

	html[data-template="night-strip"] .tpl__head--starbar .ws__navlink {
		border:									none;

		color:									rgba(240, 242, 255, 0.62);
		font-size:								11px;
		font-weight:							500;
		letter-spacing:							0.3em;
	}

	html[data-template="night-strip"] .tpl__head--starbar .ws__navlink.is-on,
	html[data-template="night-strip"] .tpl__head--starbar .ws__navlink:hover {
		color:									var(--ns-light);
	}

	html[data-template="night-strip"] .tpl__head--starbar .ws__burger {
		position:								relative;

		border-color:							rgba(240, 242, 255, 0.25);
		border-radius:							999px;

		color:									rgb(240, 242, 255);
	}

	/* the cover :: the photograph in a circle rising like a moon over a field of stars, the title in spaced letters under it */
	html[data-template="night-strip"] .tpl__cover--planetrise {
		height:									auto;
		padding:								clamp(50px, 8vh, 100px) var(--ws-gap) clamp(40px, 7vh, 80px);
		display:								flex;
		flex-direction:							column;
		align-items:							center;
		gap:									clamp(26px, 4vh, 44px);
		overflow:								hidden;

		background:								radial-gradient(ellipse 70% 60% at 50% 40%, rgb(20, 24, 44), var(--ns-sky) 70%);
	}

	html[data-template="night-strip"] .tpl__starfield {
		position:								absolute;
		inset:									0;
		opacity:								0.85;

		background:								var(--ns-stars);
		background-size:						260px 180px;
	}

	html[data-template="night-strip"] .tpl__planet {
		position:								relative;
		z-index:								1;
		height:									min(56vh, 520px);
		width:									min(56vh, 520px);
		max-width:								82vw;
		max-height:								82vw;
		margin:									0;
		overflow:								hidden;

		border-radius:							50%;
		box-shadow:								0 0 0 1px rgba(207, 216, 255, 0.25), 0 0 70px rgba(207, 216, 255, 0.28), 0 0 160px rgba(120, 140, 255, 0.18);
	}

	html[data-template="night-strip"] .tpl__planet .ws__heroimg {
		height:									100%;
		width:									100%;
	}

	html[data-template="night-strip"] .tpl__planet::after {
		position:								absolute;
		inset:									0;

		border-radius:							50%;
		background:								radial-gradient(circle at 70% 30%, transparent 45%, rgba(4, 5, 10, 0.55) 80%, rgba(4, 5, 10, 0.85));

		content:								"";
	}

	html[data-template="night-strip"] .tpl__planet--empty {
		display:								block;

		background:								radial-gradient(circle at 40% 35%, rgb(220, 226, 255), rgb(120, 130, 170) 60%, rgb(40, 44, 70));
	}

	html[data-template="night-strip"] .tpl__orbitwords {
		position:								relative;
		z-index:								1;
		max-width:								820px;

		color:									rgb(240, 242, 255);
		text-align:								center;
	}

	html[data-template="night-strip"] .tpl__orbitwords .ws__herotitle {
		font-size:								clamp(26px, 3.6vw, 54px);
		letter-spacing:							0.32em;
		line-height:							1.15;
		text-transform:							uppercase;
	}

	html[data-template="night-strip"] .tpl__orbitwords .ws__heroline {
		max-width:								none;
		margin-top:								12px;
		opacity:								1;

		color:									var(--ns-light);
		font-size:								14px;
		letter-spacing:							0.16em;
	}

	/* the sections :: a faint line, the headings in spaced letters */
	html[data-template="night-strip"] .ws__section + .ws__section {
		border-top:								1px solid rgba(207, 216, 255, 0.1);
	}

	html[data-template="night-strip"] .ws__sectitle {
		font-size:								clamp(22px, 2.4vw, 32px);
		letter-spacing:							0.2em;
		text-transform:							uppercase;
	}

	html[data-template="night-strip"] .ws__kicker {
		color:									var(--ns-light);
		letter-spacing:							0.3em;
	}

	html[data-template="night-strip"] .ws__more {
		border-bottom-color:					var(--ns-light);

		color:									var(--ns-light);
	}

	html[data-template="night-strip"] .ws__btn {
		border:									1px solid rgba(207, 216, 255, 0.5);
		border-radius:							999px;
		background:								transparent;

		color:									var(--ns-light);
		letter-spacing:							0.2em;
	}

	html[data-template="night-strip"] .ws__btn:hover {
		background:								var(--ns-light);

		color:									var(--ns-sky);
	}

	/* the gallery index :: stars joined by thin lines - four to a row, up and down in turn, each line from one star to the next */
	html[data-template="night-strip"] .tpl__constellation {
		margin:									0;
		padding:								40px 0;
		display:								grid;
		grid-template-columns:					repeat(4, 170px);
		justify-content:						center;
		gap:									40px 70px;

		background:								var(--ns-stars);
		background-size:						260px 180px;

		list-style:								none;
	}

	html[data-template="night-strip"] .tpl__constellation li {
		position:								relative;
	}

	html[data-template="night-strip"] .tpl__constellation li:nth-child(even) {
		margin-top:								56px;
	}

	html[data-template="night-strip"] .tpl__constellation li:not(:nth-child(4n)):not(:last-child)::after {
		position:								absolute;
		top:									60px;
		left:									85px;
		height:									1px;
		width:									246px;

		background:								rgba(207, 216, 255, 0.4);

		content:								"";
		transform:								rotate(13.1deg);
		transform-origin:						0 0;
	}

	html[data-template="night-strip"] .tpl__constellation li:nth-child(even):not(:last-child)::after {
		transform:								rotate(-13.1deg);
	}

	html[data-template="night-strip"] .tpl__constellation a {
		position:								relative;
		z-index:								1;
		display:								flex;
		flex-direction:							column;
		align-items:							center;
		gap:									6px;

		text-align:								center;
	}

	html[data-template="night-strip"] .tpl__star {
		height:									120px;
		width:									120px;
		display:								block;
		overflow:								hidden;

		border-radius:							50%;
		background:								rgb(20, 24, 44);
		box-shadow:								0 0 0 1px rgba(207, 216, 255, 0.35), 0 0 30px rgba(207, 216, 255, 0.3);

		transition:								box-shadow 0.4s;
	}

	html[data-template="night-strip"] .tpl__star img {
		height:									100%;
		width:									100%;

		object-fit:								cover;
	}

	html[data-template="night-strip"] .tpl__constellation a:hover .tpl__star {
		box-shadow:								0 0 0 2px var(--ns-light), 0 0 50px rgba(207, 216, 255, 0.55);
	}

	html[data-template="night-strip"] .tpl__starname {
		margin-top:								8px;

		color:									rgb(240, 242, 255);
		font-family:							var(--ws-ff-head);
		font-size:								12px;
		letter-spacing:							0.22em;
		text-transform:							uppercase;
	}

	html[data-template="night-strip"] .tpl__starcount {
		opacity:								0.8;

		color:									var(--ns-light);
		font-size:								11px;
		letter-spacing:							0.12em;
	}

	/* a gallery :: rounded prints on the night */
	html[data-template="night-strip"] .ws__item {
		border-radius:							10px;
	}

	/* about, the record, contact :: the night and its pale light */
	html[data-template="night-strip"] .ws__portrait {
		border-radius:							50%;
		box-shadow:								0 0 40px rgba(207, 216, 255, 0.25);
	}

	html[data-template="night-strip"] .ws__badge {
		border-color:							rgba(207, 216, 255, 0.3);
		border-radius:							999px;

		color:									var(--ns-light);
	}

	html[data-template="night-strip"] .ws__stat {
		border-radius:							14px;
		background:								rgba(207, 216, 255, 0.04);
		box-shadow:								inset 0 0 0 1px rgba(207, 216, 255, 0.12);
	}

	html[data-template="night-strip"] .ws__statnum {
		color:									rgb(240, 242, 255);
		font-weight:							300;
	}

	html[data-template="night-strip"] .ws__award {
		border-radius:							999px;
		background:								var(--ns-light);

		color:									var(--ns-sky);
	}

	html[data-template="night-strip"] .ws__inp {
		border-color:							rgba(207, 216, 255, 0.2);
		border-radius:							12px;
		background:								rgba(207, 216, 255, 0.04);
	}

	/* the foot :: a night sky with a star falling across it */
	html[data-template="night-strip"] .tpl__foot--shootingstar {
		position:								relative;
		margin-top:								var(--ws-space);
		overflow:								hidden;

		border-top:								1px solid rgba(207, 216, 255, 0.1);
		background:								var(--ns-stars), var(--ns-sky);
		background-size:						260px 180px, auto;
	}

	html[data-template="night-strip"] .tpl__streak {
		position:								absolute;
		top:									26px;
		left:									10%;
		height:									2px;
		width:									140px;

		border-radius:							2px;
		background:								linear-gradient(90deg, transparent, rgb(240, 242, 255));

		transform:								rotate(-16deg);
		animation:								ns-fall 7s ease-in infinite;
	}

	@keyframes ns-fall {
		0%,
		70% {
			opacity:							0;

			transform:							translate(0, 0) rotate(-16deg);
		}

		75% {
			opacity:							1;
		}

		100% {
			opacity:							0;

			transform:							translate(420px, 120px) rotate(-16deg);
		}
	}

	html[data-template="night-strip"] .tpl__foot--shootingstar .ws__wrap {
		position:								relative;
		padding-top:							46px;
		padding-bottom:							40px;
		display:								flex;
		flex-direction:							column;
		align-items:							center;
		gap:									10px;

		color:									rgba(240, 242, 255, 0.6);
		font-size:								12px;
		letter-spacing:							0.12em;
		text-align:								center;
	}

	html[data-template="night-strip"] .tpl__foot--shootingstar .ws__iaap {
		color:									rgb(240, 242, 255);
	}

	@media (prefers-reduced-motion: reduce) {
		html[data-template="night-strip"] .tpl__stars {
			animation:							none;
		}

		html[data-template="night-strip"] .tpl__streak {
			opacity:							0.8;

			animation:							none;
		}
	}

	@media all and (max-width: 860px) {
		html[data-template="night-strip"] .tpl__constellation {
			grid-template-columns:				repeat(2, minmax(0, 150px));
			gap:								30px 40px;
		}

		html[data-template="night-strip"] .tpl__constellation li::after {
			display:							none;
		}

		html[data-template="night-strip"] .tpl__constellation li:nth-child(even) {
			margin-top:							40px;
		}

		html[data-template="night-strip"] .tpl__star {
			height:								110px;
			width:								110px;
		}
	}

	@media all and (max-width: 760px) {
		html[data-template="night-strip"] .tpl__head--starbar {
			overflow:							visible;
		}

		html[data-template="night-strip"] .tpl__stars {
			overflow:							hidden;
		}

		html[data-template="night-strip"] .tpl__head--starbar .ws__nav {
			background:							var(--ns-sky);
		}

		html[data-template="night-strip"] .tpl__head--starbar .ws__navlink {
			padding:							12px 0;
		}
	}

/*	============================================================ */
/*	#endregion END NIGHT SKY */
/*	============================================================ */
