/*	============================================================ */
/*	#region *** GILT :: gold leaf, Art Deco */
/*	============================================================ */
	/* gold leaf, Art Deco :: black lacquer and gold - the name in gold between stepped rules, a gold sunburst behind the cover photograph in a frame with
	stepped corners, the galleries in stepped gold frames, a gold fan at the foot, geometric capitals */

	html[data-template="gilt"] {
		--gl-gold:								var(--ws-accent);
		--gl-foil:								linear-gradient(115deg, rgb(160, 120, 40), rgb(246, 220, 140) 28%, rgb(184, 144, 54) 48%, rgb(250, 230, 160) 70%, rgb(150, 110, 30));
		--gl-black:								rgb(10, 10, 10);
		--gl-step:								polygon(14px 0, calc(100% - 14px) 0, calc(100% - 14px) 7px, calc(100% - 7px) 7px, calc(100% - 7px) 14px, 100% 14px, 100% calc(100% - 14px), calc(100% - 7px) calc(100% - 14px), calc(100% - 7px) calc(100% - 7px), calc(100% - 14px) calc(100% - 7px), calc(100% - 14px) 100%, 14px 100%, 14px calc(100% - 7px), 7px calc(100% - 7px), 7px calc(100% - 14px), 0 calc(100% - 14px), 0 14px, 7px 14px, 7px 7px, 14px 7px);
	}

	html[data-template="gilt"] body {
		background:								var(--gl-black);
	}

	html[data-template="gilt"] h1,
	html[data-template="gilt"] h2,
	html[data-template="gilt"] h3 {
		font-weight:							300;
		letter-spacing:							0.16em;
		text-transform:							uppercase;
	}

	/* the header :: the name in gold foil between stepped rules, the pages in spaced capitals */
	html[data-template="gilt"] .tpl__head--deco {
		position:								relative;
		padding:								28px var(--ws-gap) 16px;
		display:								flex;
		flex-direction:							column;
		align-items:							center;
		gap:									14px;

		border-bottom:							1px solid rgba(212, 175, 55, 0.35);
		background:								var(--gl-black);
	}

	html[data-template="gilt"] .tpl__deconame {
		max-width:								100%;
		display:								flex;
		align-items:							center;
		gap:									18px;
	}

	html[data-template="gilt"] .tpl__steps {
		height:									14px;
		width:									clamp(40px, 8vw, 120px);
		flex:									none;

		background:								linear-gradient(var(--gl-gold), var(--gl-gold)) 0 0 / 100% 1px no-repeat, linear-gradient(var(--gl-gold), var(--gl-gold)) 30% 6px / 70% 1px no-repeat, linear-gradient(var(--gl-gold), var(--gl-gold)) 60% 12px / 40% 1px no-repeat;
	}

	html[data-template="gilt"] .tpl__steps--r {
		transform:								scaleX(-1);
	}

	html[data-template="gilt"] .tpl__head--deco .ws__brand {
		align-items:							center;
	}

	html[data-template="gilt"] .tpl__head--deco .ws__brandname {
		-webkit-background-clip:				text;

		background:								var(--gl-foil);
		background-clip:						text;

		color:									transparent;
		font-family:							var(--ws-ff-head);
		font-size:								clamp(22px, 2.8vw, 36px);
		font-weight:							400;
		letter-spacing:							0.24em;
		text-transform:							uppercase;
	}

	html[data-template="gilt"] .tpl__head--deco .ws__nav {
		gap:									4px 26px;
		flex-wrap:								wrap;
		justify-content:						center;
	}

	html[data-template="gilt"] .tpl__head--deco .ws__navlink {
		padding:								4px 0;

		border:									none;

		color:									rgba(232, 214, 160, 0.75);
		font-size:								12px;
		font-weight:							400;
		letter-spacing:							0.3em;
	}

	html[data-template="gilt"] .tpl__head--deco .ws__navlink.is-on,
	html[data-template="gilt"] .tpl__head--deco .ws__navlink:hover {
		color:									var(--gl-gold);
	}

	html[data-template="gilt"] .tpl__head--deco .ws__burger {
		position:								absolute;
		top:									28px;
		right:									var(--ws-gap);

		border-color:							rgba(212, 175, 55, 0.5);
		border-radius:							0;

		color:									var(--gl-gold);
	}

	/* the cover :: a gold sunburst behind the photograph in a stepped frame, the title in gold foil under it */
	html[data-template="gilt"] .tpl__cover--sunburst {
		height:									auto;
		padding:								clamp(40px, 6vw, 90px) var(--ws-gap);
		display:								block;
		overflow:								hidden;

		background:								var(--gl-black);
	}

	html[data-template="gilt"] .tpl__rays {
		position:								absolute;
		top:									34%;
		left:									50%;
		height:									220vmax;
		width:									220vmax;
		margin:									-110vmax 0 0 -110vmax;

		background:								repeating-conic-gradient(from 0deg, rgba(212, 175, 55, 0.14) 0 3deg, transparent 3deg 9deg);
		-webkit-mask:							radial-gradient(circle, rgb(0, 0, 0) 0, transparent 34%);
		mask:									radial-gradient(circle, rgb(0, 0, 0) 0, transparent 34%);

		pointer-events:							none;
	}

	html[data-template="gilt"] .tpl__decostage {
		position:								relative;
		max-width:								760px;
		margin:									0 auto;
		display:								flex;
		flex-direction:							column;
		align-items:							center;
		gap:									22px;

		text-align:								center;
	}

	html[data-template="gilt"] .tpl__decoframe {
		margin:									0;
		padding:								12px;

		background:								var(--gl-foil);
		clip-path:								var(--gl-step);
	}

	html[data-template="gilt"] .tpl__decoframe .ws__heroimg {
		position:								static;
		height:									auto;
		max-height:								62vh;

		clip-path:								var(--gl-step);
	}

	html[data-template="gilt"] .tpl__decostage .ws__herotitle {
		-webkit-background-clip:				text;

		background:								var(--gl-foil);
		background-clip:						text;

		color:									transparent;
		font-size:								clamp(30px, 4.4vw, 60px);
		letter-spacing:							0.2em;
		line-height:							1.15;
	}

	html[data-template="gilt"] .tpl__decostage .ws__heroline {
		max-width:								560px;
		margin:									0;
		opacity:								1;

		color:									rgba(232, 214, 160, 0.8);
		font-size:								15px;
		letter-spacing:							0.08em;
	}

	/* the sections :: gold capitals, a thin gold rule between */
	html[data-template="gilt"] .ws__section + .ws__section {
		border-top:								1px solid rgba(212, 175, 55, 0.25);
	}

	html[data-template="gilt"] .ws__sechead {
		flex-direction:							column;
		align-items:							center;
		gap:									8px;

		text-align:								center;
	}

	html[data-template="gilt"] .ws__title,
	html[data-template="gilt"] .ws__sectitle {
		color:									var(--gl-gold);
	}

	html[data-template="gilt"] .ws__sectitle {
		font-size:								clamp(20px, 2.2vw, 28px);
	}

	html[data-template="gilt"] .ws__kicker {
		color:									rgba(232, 214, 160, 0.6);
		letter-spacing:							0.3em;
	}

	html[data-template="gilt"] .ws__more {
		border-bottom-color:					var(--gl-gold);

		color:									var(--gl-gold);
		letter-spacing:							0.24em;
	}

	html[data-template="gilt"] .ws__btn {
		border:									1px solid var(--gl-gold);
		border-radius:							0;
		background:								transparent;

		color:									var(--gl-gold);
		letter-spacing:							0.28em;
	}

	html[data-template="gilt"] .ws__btn:hover {
		background:								var(--gl-gold);

		color:									var(--gl-black);
	}

	/* the gallery index :: stepped gold frames, the names in gold capitals */
	html[data-template="gilt"] .tpl__decotiles {
		display:								grid;
		grid-template-columns:					repeat(auto-fill, minmax(240px, 1fr));
		gap:									40px 30px;
	}

	html[data-template="gilt"] .tpl__decotile {
		display:								flex;
		flex-direction:							column;
		align-items:							center;
		gap:									8px;

		text-align:								center;
	}

	html[data-template="gilt"] .tpl__stepframe {
		width:									100%;
		margin-bottom:							8px;
		padding:								8px;
		display:								block;

		background:								var(--gl-foil);
		clip-path:								var(--gl-step);

		transition:								filter 0.3s;
	}

	html[data-template="gilt"] .tpl__decotile:hover .tpl__stepframe {
		filter:									brightness(1.12);
	}

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

		object-fit:								cover;
		clip-path:								var(--gl-step);
	}

	html[data-template="gilt"] .tpl__decotname {
		color:									var(--gl-gold);
		font-family:							var(--ws-ff-head);
		font-size:								15px;
		letter-spacing:							0.22em;
		text-transform:							uppercase;
	}

	html[data-template="gilt"] .tpl__decotcount {
		color:									rgba(232, 214, 160, 0.55);
		font-size:								11px;
		letter-spacing:							0.16em;
	}

	/* a gallery :: thin gold borders */
	html[data-template="gilt"] .ws__item {
		padding:								4px;

		border-radius:							0;
		background:								var(--gl-foil);
	}

	/* about, the record, contact :: gold on black */
	html[data-template="gilt"] .ws__portrait {
		padding:								8px;

		border-radius:							0;
		background:								var(--gl-foil);
		clip-path:								var(--gl-step);
	}

	html[data-template="gilt"] .ws__badge {
		border-color:							rgba(212, 175, 55, 0.5);
		border-radius:							0;
		background:								transparent;

		color:									var(--gl-gold);
		letter-spacing:							0.1em;
	}

	html[data-template="gilt"] .ws__stat {
		border:									1px solid rgba(212, 175, 55, 0.35);
		border-radius:							0;
		background:								transparent;
	}

	html[data-template="gilt"] .ws__statnum {
		color:									var(--gl-gold);
		font-weight:							300;
	}

	html[data-template="gilt"] .ws__award {
		border-radius:							0;
		background:								var(--gl-foil);

		color:									var(--gl-black);
	}

	html[data-template="gilt"] .ws__inp {
		border-color:							rgba(212, 175, 55, 0.4);
		border-radius:							0;
		background:								transparent;
	}

	/* the foot :: a gold fan over the line */
	html[data-template="gilt"] .tpl__foot--fan {
		margin-top:								var(--ws-space);

		border-top:								none;
		background:								var(--gl-black);
	}

	html[data-template="gilt"] .tpl__foot--fan .ws__wrap {
		padding-top:							20px;
		padding-bottom:							40px;
		display:								flex;
		flex-direction:							column;
		align-items:							center;
		gap:									14px;

		color:									rgba(232, 214, 160, 0.65);
		font-size:								12px;
		letter-spacing:							0.08em;
		text-align:								center;
	}

	html[data-template="gilt"] .tpl__fan {
		height:									60px;
		width:									120px;

		border-radius:							120px 120px 0 0;
		background:								repeating-conic-gradient(from -90deg at 50% 100%, var(--gl-gold) 0 2deg, transparent 2deg 15deg);
		-webkit-mask:							radial-gradient(circle at 50% 100%, transparent 0 14px, rgb(0, 0, 0) 15px);
		mask:									radial-gradient(circle at 50% 100%, transparent 0 14px, rgb(0, 0, 0) 15px);
	}

	html[data-template="gilt"] .tpl__foot--fan .ws__iaap {
		color:									var(--gl-gold);
	}

	@media all and (max-width: 760px) {
		html[data-template="gilt"] .tpl__head--deco {
			padding-right:						60px;
			padding-left:						60px;
		}

		html[data-template="gilt"] .tpl__steps {
			display:							none;
		}

		html[data-template="gilt"] .tpl__head--deco .ws__brandname {
			font-size:							18px;
			letter-spacing:						0.12em;
			white-space:						normal;
		}

		html[data-template="gilt"] .tpl__head--deco .ws__nav {
			background:							var(--gl-black);
		}

		html[data-template="gilt"] .tpl__head--deco .ws__navlink {
			padding:							10px 0;
		}
	}

/*	============================================================ */
/*	#endregion END GILT */
/*	============================================================ */
