/*	============================================================ */
/*	#region *** SUNSET :: warm gradients */
/*	============================================================ */
	/* warm gradients :: the hour the sky changes colour - a bar the colour of the sky after sunset, the cover photograph with the warm light sweeping across
	it from one corner and a low sun behind the title, the galleries as cards each lit by its own sky from gold to violet, the sky in bands at the foot */

	html[data-template="sunset"] {
		--sn-orange:							var(--ws-accent);
		--sn-gold:								rgb(255, 196, 110);
		--sn-peach:								rgb(255, 150, 110);
		--sn-rose:								rgb(236, 100, 120);
		--sn-magenta:							rgb(196, 80, 150);
		--sn-violet:							rgb(110, 78, 160);
		--sn-night:								rgb(52, 40, 90);
		--sn-sky:								linear-gradient(90deg, var(--sn-gold), var(--sn-peach) 30%, var(--sn-rose) 60%, var(--sn-violet));
	}

	html[data-template="sunset"] h1,
	html[data-template="sunset"] h2,
	html[data-template="sunset"] h3 {
		font-weight:							400;
		letter-spacing:							0;
	}

	/* the header :: a bar the colour of the sky after sunset, the name and the pages in white */
	html[data-template="sunset"] .tpl__head--afterglow {
		position:								sticky;
		top:									0;
		z-index:								20;
		padding:								18px var(--ws-gap);
		display:								flex;
		align-items:							center;
		justify-content:						space-between;
		gap:									20px;

		border:									none;
		background:								var(--sn-sky);
	}

	html[data-template="sunset"] .tpl__head--afterglow .ws__brandname {
		color:									rgb(255, 255, 255);
		font-family:							var(--ws-ff-head);
		font-size:								24px;
		font-weight:							400;
		text-shadow:							0 1px 10px rgba(110, 40, 60, 0.3);
	}

	html[data-template="sunset"] .tpl__head--afterglow .ws__brandline {
		color:									rgba(255, 255, 255, 0.85);
		letter-spacing:							0.1em;
	}

	html[data-template="sunset"] .tpl__head--afterglow .ws__navlink {
		border:									none;

		color:									rgba(255, 255, 255, 0.85);
		font-size:								13px;
		font-weight:							500;
		letter-spacing:							0.12em;
	}

	html[data-template="sunset"] .tpl__head--afterglow .ws__navlink.is-on,
	html[data-template="sunset"] .tpl__head--afterglow .ws__navlink:hover {
		color:									rgb(255, 255, 255);
		text-decoration:						underline 2px;
		text-underline-offset:					6px;
	}

	html[data-template="sunset"] .tpl__head--afterglow .ws__burger {
		border-color:							rgba(255, 255, 255, 0.6);
		border-radius:							999px;

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

	/* the cover :: the warm light sweeping across the photograph from one corner, a low sun behind the title */
	html[data-template="sunset"] .tpl__cover--glowsweep {
		height:									min(92vh, 940px);
		padding:								0 var(--ws-gap) clamp(36px, 8vh, 90px);
		align-items:							flex-end;

		background:								linear-gradient(to bottom, var(--sn-peach), var(--sn-violet));
	}

	html[data-template="sunset"] .tpl__glow {
		position:								absolute;
		inset:									0;

		background:								linear-gradient(120deg, rgba(255, 150, 60, 0.6), rgba(236, 100, 120, 0.3) 38%, transparent 62%), linear-gradient(to top, rgba(52, 40, 90, 0.6), transparent 45%);
	}

	html[data-template="sunset"] .tpl__sunwords {
		position:								relative;
		z-index:								1;
		max-width:								760px;

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

	html[data-template="sunset"] .tpl__lowsun {
		position:								absolute;
		bottom:									-30%;
		left:									-12%;
		z-index:								-1;
		height:									clamp(260px, 30vw, 460px);
		width:									clamp(260px, 30vw, 460px);

		border-radius:							50%;
		background:								radial-gradient(circle, rgba(255, 210, 140, 0.85), rgba(255, 150, 90, 0.35) 45%, transparent 70%);
	}

	html[data-template="sunset"] .tpl__sunwords .ws__herotitle {
		font-size:								clamp(44px, 6.4vw, 108px);
		line-height:							1;
		text-shadow:							0 2px 20px rgba(110, 40, 60, 0.35);
	}

	html[data-template="sunset"] .tpl__sunwords .ws__heroline {
		max-width:								520px;
		margin-top:								14px;
		opacity:								0.95;

		font-size:								18px;
	}

	html[data-template="sunset"] .tpl__cover--glowsweep.is-bare {
		height:									auto;
		min-height:								56vh;
		padding-top:							90px;
	}

	/* the sections :: a short gradient rule before each heading */
	html[data-template="sunset"] .ws__section + .ws__section {
		border-top:								none;
	}

	html[data-template="sunset"] .ws__sectitle {
		font-size:								clamp(30px, 3.2vw, 46px);
	}

	html[data-template="sunset"] .ws__sectitle::after {
		margin-top:								10px;
		display:								block;
		height:									4px;
		width:									90px;

		border-radius:							2px;
		background:								var(--sn-sky);

		content:								"";
	}

	html[data-template="sunset"] .ws__kicker {
		color:									var(--sn-rose);
		letter-spacing:							0.16em;
	}

	html[data-template="sunset"] .ws__more {
		border-bottom-color:					var(--sn-rose);

		color:									var(--sn-rose);
	}

	html[data-template="sunset"] .ws__btn {
		border:									none;
		border-radius:							999px;
		background:								var(--sn-sky);

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

	/* the gallery index :: cards each lit by its own sky, from the gold of late afternoon to the violet of dusk */
	html[data-template="sunset"] .tpl__glowcards {
		display:								grid;
		grid-template-columns:					repeat(auto-fill, minmax(250px, 1fr));
		gap:									34px 26px;
	}

	html[data-template="sunset"] .tpl__glowcard {
		display:								flex;
		flex-direction:							column;
		gap:									4px;
	}

	html[data-template="sunset"] .tpl__sky {
		margin-bottom:							10px;
		padding:								14px;
		display:								block;

		border-radius:							18px;
		background:								linear-gradient(160deg, var(--sn-gold), var(--sn-peach));

		transition:								transform 0.4s;
	}

	html[data-template="sunset"] .tpl__glowcard:nth-child(5n + 2) .tpl__sky {
		background:								linear-gradient(160deg, var(--sn-peach), var(--sn-rose));
	}

	html[data-template="sunset"] .tpl__glowcard:nth-child(5n + 3) .tpl__sky {
		background:								linear-gradient(160deg, var(--sn-rose), var(--sn-magenta));
	}

	html[data-template="sunset"] .tpl__glowcard:nth-child(5n + 4) .tpl__sky {
		background:								linear-gradient(160deg, var(--sn-magenta), var(--sn-violet));
	}

	html[data-template="sunset"] .tpl__glowcard:nth-child(5n) .tpl__sky {
		background:								linear-gradient(160deg, var(--sn-violet), var(--sn-night));
	}

	html[data-template="sunset"] .tpl__sky img {
		aspect-ratio:							4 / 5;
		height:									auto;
		width:									100%;

		border-radius:							10px;
		object-fit:								cover;
	}

	html[data-template="sunset"] .tpl__glowcard:hover .tpl__sky {
		transform:								translateY(-6px);
	}

	html[data-template="sunset"] .tpl__glowname {
		font-family:							var(--ws-ff-head);
		font-size:								24px;
	}

	html[data-template="sunset"] .tpl__glowcount {
		color:									var(--sn-rose);
		font-size:								13px;
		letter-spacing:							0.06em;
	}

	/* a gallery :: soft rounded prints */
	html[data-template="sunset"] .ws__item {
		border-radius:							12px;
	}

	/* about, the record, contact :: warm and soft */
	html[data-template="sunset"] .ws__portrait {
		border-radius:							50%;
		box-shadow:								0 0 0 8px var(--ws-card);
	}

	html[data-template="sunset"] .ws__badge {
		border-color:							color-mix(in srgb, var(--sn-rose) 35%, transparent);
		border-radius:							999px;

		color:									var(--sn-rose);
	}

	html[data-template="sunset"] .ws__stat {
		border-radius:							18px;
		background:								linear-gradient(160deg, var(--ws-card), var(--ws-bg));
	}

	html[data-template="sunset"] .ws__statnum {
		color:									var(--sn-rose);
		font-family:							var(--ws-ff-head);
	}

	html[data-template="sunset"] .ws__award {
		border-radius:							999px;
		background:								var(--sn-orange);
	}

	html[data-template="sunset"] .ws__inp {
		border-radius:							14px;
	}

	/* the foot :: the sky in bands of colour, the line and the association on the last of them */
	html[data-template="sunset"] .tpl__foot--skybands {
		margin-top:								var(--ws-space);

		border-top:								none;
		background:								var(--sn-night);

		color:									rgba(255, 255, 255, 0.75);
	}

	html[data-template="sunset"] .tpl__bands {
		display:								block;
	}

	html[data-template="sunset"] .tpl__bands i {
		height:									12px;
		display:								block;

		background:								var(--sn-gold);
	}

	html[data-template="sunset"] .tpl__bands i:nth-child(2) {
		background:								var(--sn-peach);
	}

	html[data-template="sunset"] .tpl__bands i:nth-child(3) {
		background:								var(--sn-rose);
	}

	html[data-template="sunset"] .tpl__bands i:nth-child(4) {
		background:								var(--sn-violet);
	}

	html[data-template="sunset"] .tpl__foot--skybands .ws__wrap {
		padding-top:							26px;
		padding-bottom:							36px;
		display:								flex;
		flex-wrap:								wrap;
		align-items:							center;
		justify-content:						space-between;
		gap:									10px 24px;

		font-size:								13px;
	}

	html[data-template="sunset"] .tpl__foot--skybands .ws__iaap {
		color:									rgb(255, 255, 255);
	}

	@media all and (max-width: 760px) {
		html[data-template="sunset"] .tpl__head--afterglow .ws__nav {
			background:							var(--sn-sky);
		}

		html[data-template="sunset"] .tpl__head--afterglow .ws__navlink {
			padding:							12px 0;
		}

		html[data-template="sunset"] .tpl__glowcards {
			grid-template-columns:				repeat(2, minmax(0, 1fr));
			gap:								22px 14px;
		}

		html[data-template="sunset"] .tpl__glowname {
			font-size:							19px;
		}
	}

/*	============================================================ */
/*	#endregion END SUNSET */
/*	============================================================ */
