/* Public development front. Prefix every rule with de-site-. */

.de-site {
	--gold: #d4b56a;
	--gold-dim: #a88746;
	--blood: #a71f2e;
	--blood-hot: #be2838;
	--ink: #efe8dc;
	--muted: #9a9286;
	--line: rgba(199, 162, 86, 0.28);
	--line-soft: rgba(226, 214, 186, 0.1);
	--surface: #12141a;
	--bg: #07080b;
	--font: "Libre Franklin", "Franklin Gothic Medium", "Segoe UI", system-ui, sans-serif;
	--display: "Cormorant Garamond", Palatino, "Palatino Linotype", "Times New Roman", serif;
	--body: "Newsreader", Georgia, "Times New Roman", serif;
	margin: 0;
	min-height: 100vh;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font);
	font-size: 15px;
	overflow-x: hidden;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

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

.de-site a {
	color: var(--gold);
	text-decoration: none;
}

.de-site a:hover {
	color: #fff;
}

/* —— Header —— */

.de-site-top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 22px;
	padding: 16px 28px;
	border-bottom: 1px solid var(--line-soft);
	background: #0c0d11;
}

.de-site-home .de-site-top {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 4;
	background: linear-gradient(180deg, rgba(5, 5, 7, 0.78) 0%, rgba(5, 5, 7, 0.18) 70%, transparent 100%);
	border-bottom: 0;
}

.de-site-home .de-site-banner {
	position: relative;
	z-index: 5;
	padding-top: 72px;
}

.de-site-mark {
	color: #fff !important;
	font-family: var(--display);
	font-size: 22px;
	font-weight: 600;
	letter-spacing: -0.03em;
	line-height: 1;
}

.de-site-mark em {
	font-style: italic;
	font-weight: 500;
	color: var(--gold);
}

.de-site-nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 4px;
	font-size: 13px;
}

.de-site-nav a {
	color: rgba(239, 232, 220, 0.72);
	padding: 8px 10px;
}

.de-site-nav a.is-on,
.de-site-nav a:hover {
	color: var(--gold);
}

.de-site-nav-login {
	margin-left: 6px;
	padding: 8px 14px !important;
	border: 1px solid rgba(167, 31, 46, 0.9);
	background: var(--blood);
	color: #fff !important;
	border-radius: 2px;
}

.de-site-nav-login:hover {
	background: var(--blood-hot);
	border-color: var(--blood-hot);
	color: #fff !important;
}

.de-site-banner {
	margin: 0;
	padding: 11px 28px;
	border-bottom: 1px solid var(--line);
	color: var(--gold);
	font-family: var(--display);
	font-size: 15px;
	font-style: italic;
	background: #101217;
}

/* —— Hero / title screen —— */

.de-site-hero {
	position: relative;
	min-height: 100vh;
	min-height: 100dvh;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	overflow: hidden;
}

.de-site-hero-bg {
	position: absolute;
	inset: 0;
	background: #050505 url("../images/index/landing-bg.jpg") no-repeat 32% 46%;
	background-size: cover;
}

.de-site-hero-scrim {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(5, 5, 7, 0.08) 0%, rgba(5, 5, 7, 0.22) 42%, rgba(5, 5, 7, 0.78) 100%),
		linear-gradient(180deg, rgba(5, 5, 7, 0.28) 0%, rgba(5, 5, 7, 0.04) 36%, rgba(5, 5, 7, 0.55) 100%);
}

.de-site-hero-inner {
	position: relative;
	z-index: 1;
	width: min(36rem, 92vw);
	padding: 88px 6vw 56px 24px;
	margin-right: 2vw;
}

.de-site-kicker {
	margin: 0 0 10px;
	color: var(--gold);
	font-family: var(--display);
	font-size: 17px;
	font-weight: 500;
	font-style: italic;
	letter-spacing: 0.02em;
}

.de-site-masthead {
	margin: 0;
	font-family: var(--display);
	font-size: clamp(46px, 7.4vw, 78px);
	font-weight: 600;
	letter-spacing: -0.035em;
	line-height: 0.9;
	color: #fff;
	text-shadow: 0 2px 36px rgba(0, 0, 0, 0.75);
}

.de-site-masthead em {
	font-style: italic;
	font-weight: 500;
}

.de-site-masthead::after {
	content: "";
	display: block;
	width: 32px;
	height: 1px;
	margin: 18px 0 20px;
	background: var(--gold);
}

.de-site-hero h1:not(.de-site-masthead),
.de-site-pagehead h1,
.de-site-read h1,
.de-site-article-lead h2 {
	margin: 0 0 10px;
	font-family: var(--display);
	font-weight: 600;
	letter-spacing: -0.03em;
	line-height: 1.05;
	color: #fff;
	overflow-wrap: anywhere;
}

.de-site-lede {
	margin: 0 0 22px;
	color: var(--muted);
	font-family: var(--body);
	font-size: 18px;
	line-height: 1.55;
}

.de-site-hero .de-site-lede {
	max-width: 28rem;
	color: #ece6d8;
	text-shadow: 0 1px 14px rgba(0, 0, 0, 0.7);
}

.de-site-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 14px;
	margin: 0 0 14px;
}

.de-site-btn,
.de-site-form button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 11px 20px;
	border: 1px solid rgba(0, 0, 0, 0.35);
	border-radius: 2px;
	background: var(--blood);
	color: #fff !important;
	font-family: var(--font);
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.01em;
	cursor: pointer;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.de-site-btn:hover,
.de-site-form button:hover {
	background: var(--blood-hot);
	color: #fff !important;
}

.de-site-btn-ghost {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 11px 18px;
	border: 1px solid var(--line);
	border-radius: 2px;
	color: var(--gold) !important;
	font-size: 14px;
	background: rgba(8, 9, 12, 0.35);
}

.de-site-btn-ghost:hover {
	border-color: var(--gold);
	color: #fff !important;
}

.de-site-closed {
	margin: 0;
	max-width: 28rem;
	color: var(--gold);
	font-family: var(--display);
	font-size: 16px;
	font-style: italic;
	text-shadow: 0 1px 12px rgba(0, 0, 0, 0.7);
}

/* —— Body / journal —— */

.de-site-main {
	width: min(820px, calc(100% - 40px));
	margin: 0 auto;
	padding: 8px 0 8px;
}

.de-site-main-page {
	padding-top: 36px;
	padding-bottom: 48px;
}

.de-site-section {
	padding: 44px 0 12px;
	border-top: 1px solid var(--line-soft);
}

.de-site-section:first-child {
	border-top: 0;
	padding-top: 48px;
}

.de-site-sec-head {
	margin: 0 0 22px;
}

.de-site-sec-head h2,
.de-site-mail h2,
.de-site-pagehead h1,
.de-site-read h1 {
	margin: 0;
	font-family: var(--display);
	font-size: clamp(28px, 4vw, 38px);
	font-weight: 600;
	letter-spacing: -0.03em;
	color: #fff;
	line-height: 1.1;
}

.de-site-sec-head .de-site-kicker,
.de-site-pagehead .de-site-kicker,
.de-site-mail .de-site-kicker {
	margin-bottom: 6px;
}

.de-site-pagehead {
	margin: 0 0 28px;
	padding-bottom: 22px;
	border-bottom: 1px solid var(--line);
}

.de-site-pagehead .de-site-lede {
	margin: 12px 0 0;
}

.de-site-meta {
	margin: 0 0 8px;
	color: var(--gold);
	font-family: var(--display);
	font-size: 15px;
	font-style: italic;
}

.de-site-meta time {
	color: var(--muted);
	font-style: italic;
}

.de-site-article {
	display: grid;
	gap: 16px;
	margin: 0 0 8px;
	padding: 22px 0;
	border-top: 1px solid var(--line-soft);
}

.de-site-list .de-site-article:first-child {
	border-top: 1px solid var(--line-soft);
}

.de-site-article-lead {
	margin: 0 0 18px;
	padding: 0 0 8px;
	border: 1px solid var(--line);
	background: var(--surface);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.de-site-article-lead .de-site-thumb {
	display: block;
}

.de-site-article-lead .de-site-article-body {
	padding: 22px 24px 24px;
}

.de-site-article-lead h2 {
	font-size: clamp(30px, 4.4vw, 42px);
}

.de-site-article-lead h2 a,
.de-site-article h3 a {
	color: #fff;
}

.de-site-article-lead h2 a:hover,
.de-site-article h3 a:hover {
	color: var(--gold);
}

.de-site-article h3 {
	margin: 0 0 8px;
	font-family: var(--display);
	font-size: 26px;
	font-weight: 600;
	letter-spacing: -0.02em;
	overflow-wrap: anywhere;
}

.de-site-thumb img,
.de-site-heroimg img,
.de-site-pair img {
	display: block;
	width: 100%;
	height: auto;
	border: 0;
	background: #0b0c10;
}

.de-site-article-lead .de-site-thumb img {
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-bottom: 1px solid var(--line-soft);
}

.de-site-excerpt {
	margin: 0 0 12px;
	font-family: var(--body);
	font-size: 17px;
	line-height: 1.6;
	color: #e4ddd0;
}

.de-site-article-lead .de-site-excerpt {
	font-size: 19px;
}

.de-site-more {
	margin: 10px 0 0;
	font-family: var(--display);
	font-size: 16px;
	font-style: italic;
}

.de-site-pull {
	margin: 0;
	padding: 6px 0 8px 18px;
	border-left: 1px solid var(--gold);
	color: #e8e2d6;
	font-family: var(--body);
	font-size: 20px;
	font-style: italic;
	line-height: 1.5;
}

.de-site-pair {
	margin: 0 0 32px;
}

.de-site-pair figcaption {
	margin: 0 0 14px;
}

.de-site-pair figcaption strong {
	display: block;
	font-family: var(--display);
	font-size: 24px;
	font-weight: 600;
	color: #fff;
}

.de-site-pair figcaption span {
	color: var(--muted);
	font-family: var(--body);
	font-style: italic;
	font-size: 16px;
}

.de-site-pair-imgs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.de-site-pair-imgs > div {
	position: relative;
	border: 1px solid var(--line);
	background: #0b0c10;
	min-height: 8rem;
}

.de-site-frame-label {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 1;
	margin: 0;
	padding: 3px 8px;
	background: rgba(8, 9, 12, 0.78);
	border: 1px solid var(--line);
	color: var(--gold);
	font-family: var(--display);
	font-size: 13px;
	font-style: italic;
}

.de-site-frame-empty {
	margin: 0;
	padding: 48px 16px;
	color: var(--muted);
	font-family: var(--display);
	font-style: italic;
	text-align: center;
}

.de-site-road {
	margin: 0;
	padding: 0;
	list-style: none;
	border-left: 1px solid var(--line);
}

.de-site-road li {
	position: relative;
	padding: 4px 0 22px 22px;
}

.de-site-road li::before {
	content: "";
	position: absolute;
	top: 10px;
	left: -4px;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--gold);
	box-shadow: 0 0 0 3px var(--bg);
}

.de-site-road h3 {
	margin: 0 0 4px;
	font-family: var(--display);
	font-size: 22px;
	font-weight: 600;
	color: #fff;
}

.de-site-road p {
	margin: 0;
	color: var(--muted);
	font-family: var(--body);
	font-size: 16px;
	line-height: 1.5;
}

.de-site-road-status {
	margin: 0 0 4px !important;
	font-family: var(--display) !important;
	font-size: 14px !important;
	font-style: italic;
	color: var(--muted) !important;
}

.de-site-st-complete {
	color: #8aaa7a !important;
}

.de-site-st-in-progress {
	color: var(--gold) !important;
}

.de-site-st-paused {
	color: #c96a6a !important;
}

/* —— Newsletter band —— */

.de-site-mail {
	margin-top: 12px;
	padding: 48px 20px 52px;
	border-top: 1px solid var(--line);
	background:
		linear-gradient(180deg, rgba(18, 20, 26, 0.92), rgba(10, 11, 14, 0.96)),
		#101217;
}

.de-site-mail-inner {
	width: min(820px, 100%);
	margin: 0 auto;
}

.de-site-mail h2 {
	margin: 0 0 10px;
}

.de-site-form {
	display: grid;
	gap: 8px;
	max-width: 520px;
}

.de-site-form-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.de-site-form-row input {
	flex: 1 1 220px;
}

.de-site-form-row button {
	flex: 0 0 auto;
}

.de-site-form label {
	color: var(--muted);
	font-family: var(--display);
	font-size: 14px;
	font-style: italic;
}

.de-site-form input[type="email"] {
	width: 100%;
	min-height: 46px;
	padding: 10px 12px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 2px;
	background: rgba(8, 9, 12, 0.88);
	color: #fff;
	font: inherit;
	font-size: 16px;
}

.de-site-form input:focus {
	outline: 1px solid var(--gold-dim);
	border-color: var(--gold-dim);
}

.de-site-hint,
.de-site-empty {
	color: var(--muted);
	font-family: var(--display);
	font-size: 14px;
	font-style: italic;
}

.de-site-flash {
	margin: 0 0 14px;
	padding: 10px 12px;
	border: 1px solid rgba(122, 158, 108, 0.28);
	background: rgba(122, 158, 108, 0.1);
	color: #c8d4c0;
	font-size: 14px;
}

.de-site-flash.is-bad {
	border-color: rgba(201, 106, 106, 0.28);
	background: rgba(167, 31, 46, 0.18);
	color: #efe6dc;
}

.de-site-body {
	font-family: var(--body);
	font-size: 18px;
	line-height: 1.7;
	color: #e8e2d6;
}

.de-site-body p {
	margin: 0 0 0.95em;
}

.de-site-body img {
	max-width: 100%;
	height: auto;
	border: 1px solid var(--line);
}

.de-site-quote {
	margin: 1.1em 0;
	padding: 4px 0 4px 16px;
	border-left: 1px solid var(--gold);
	font-style: italic;
}

.de-site-body ul {
	margin: 0 0 1em;
	padding-left: 1.2em;
}

.de-site-heroimg {
	margin: 8px 0 22px;
	border: 1px solid var(--line);
}

.de-site-read h1 {
	margin: 0 0 18px;
	font-size: clamp(32px, 5vw, 46px);
}

.de-site-read h1::after {
	content: "";
	display: block;
	width: 32px;
	height: 1px;
	margin-top: 16px;
	background: var(--gold);
}

.de-site-pages {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 16px;
	margin: 22px 0 0;
	font-family: var(--display);
	font-style: italic;
	font-size: 16px;
}

.de-site-pages .is-on {
	color: var(--gold);
}

.de-site-foot {
	padding: 36px 28px 40px;
	border-top: 1px solid var(--line);
	background: #0a0b0e;
	text-align: center;
}

.de-site-foot-mark {
	margin: 0;
	font-family: var(--display);
	font-size: 22px;
	font-weight: 600;
	color: #fff;
	letter-spacing: -0.03em;
}

.de-site-foot-mark em {
	font-style: italic;
	font-weight: 500;
	color: var(--gold);
}

.de-site-foot-kicker {
	margin: 6px 0 14px;
	color: var(--gold);
	font-family: var(--display);
	font-style: italic;
	font-size: 15px;
}

.de-site-foot-links {
	margin: 0;
	color: var(--muted);
	font-size: 13px;
}

.de-site-foot-links span {
	opacity: 0.45;
}

@media (max-width: 800px) {
	.de-site-hero {
		align-items: flex-end;
		justify-content: stretch;
		min-height: 100svh;
	}

	.de-site-hero-bg {
		background-position: 28% 38%;
	}

	.de-site-hero-scrim {
		background:
			linear-gradient(180deg, rgba(5, 5, 7, 0.45) 0%, rgba(5, 5, 7, 0.08) 28%, rgba(5, 5, 7, 0.2) 48%, rgba(5, 5, 7, 0.88) 100%);
	}

	.de-site-hero-inner {
		width: 100%;
		margin: 0;
		padding: 28px 18px 36px;
	}

	.de-site-masthead {
		font-size: clamp(42px, 12vw, 58px);
	}

	.de-site-top,
	.de-site-banner,
	.de-site-foot {
		padding-left: 16px;
		padding-right: 16px;
	}

	.de-site-main {
		width: calc(100% - 32px);
	}

	.de-site-pair-imgs {
		grid-template-columns: 1fr;
	}

	.de-site-article-lead .de-site-article-body {
		padding: 18px 16px 20px;
	}

	.de-site-form-row,
	.de-site-form-row input,
	.de-site-form-row button,
	.de-site-btn,
	.de-site-btn-ghost {
		width: 100%;
	}

	.de-site-cta {
		flex-direction: column;
		align-items: stretch;
	}

	.de-site-nav {
		gap: 2px;
	}

	.de-site-nav a {
		padding: 8px 8px;
	}

	.de-site-mark {
		font-size: 18px;
	}
}

@media (max-width: 420px) {
	.de-site-hero h1,
	.de-site-masthead {
		font-size: 40px;
	}

	.de-site-nav-login {
		margin-left: 0;
	}
}
