:root {
	--rt-bg: #f5f1e8;
	--rt-paper: #fffdf8;
	--rt-ink: #161616;
	--rt-muted: #5e615b;
	--rt-line: #d7d0c2;
	--rt-charcoal: #111615;
	--rt-teal: #0f766e;
	--rt-rust: #b9472f;
	--rt-gold: #d9a441;
	--rt-blue: #315c8a;
}

html {
	scroll-behavior: smooth;
}

body.rt-home-body {
	margin: 0;
	background: var(--rt-bg);
	color: var(--rt-ink);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.rt-home-body .site,
body.rt-home-body .site-content,
body.rt-home-body .container,
body.rt-home-body .grid-container {
	max-width: none;
	width: auto;
	margin: 0;
	padding: 0;
}

.rt-home,
.rt-page-shell,
.rt-home *,
.rt-page-shell * {
	box-sizing: border-box;
}

.rt-home a,
.rt-footer a {
	color: inherit;
}

.rt-nav {
	position: sticky;
	top: 0;
	z-index: 20;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	min-height: 72px;
	padding: 0 clamp(20px, 5vw, 64px);
	background: rgba(245, 241, 232, 0.92);
	border-bottom: 1px solid rgba(22, 22, 22, 0.1);
	backdrop-filter: blur(16px);
}

.rt-brand,
.rt-nav-links,
.rt-footer nav {
	display: flex;
	align-items: center;
	gap: 16px;
}

.rt-brand {
	color: var(--rt-ink) !important;
	font-weight: 850;
	text-decoration: none;
}

.rt-brand-mark {
	display: inline-grid;
	place-items: center;
	width: 38px;
	height: 38px;
	background: var(--rt-ink);
	color: var(--rt-bg);
	border-radius: 7px;
	font-size: 14px;
	letter-spacing: 0;
}

.rt-nav-links a,
.rt-footer a {
	color: var(--rt-muted);
	font-size: 14px;
	font-weight: 750;
	text-decoration: none;
}

.rt-nav-links a:hover,
.rt-footer a:hover {
	color: var(--rt-ink);
}

.rt-hero {
	display: grid;
	grid-template-columns: minmax(0, 0.92fr) minmax(260px, 380px);
	gap: clamp(28px, 5vw, 64px);
	align-items: center;
	justify-content: center;
	min-height: calc(100vh - 72px);
	padding: clamp(40px, 7vw, 96px) clamp(20px, 5vw, 64px);
	max-width: 1180px;
	margin: 0 auto;
}

.rt-kicker,
.rt-section-label {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 18px;
	color: var(--rt-teal);
	font-size: 13px;
	font-weight: 850;
	text-transform: uppercase;
}

.rt-kicker::before,
.rt-section-label::before {
	content: "";
	width: 30px;
	height: 3px;
	background: var(--rt-gold);
}

.rt-hero h1,
.rt-section h2,
.rt-cta h2 {
	margin: 0;
	max-width: 900px;
	font-weight: 900;
	letter-spacing: 0;
	line-height: 0.96;
}

.rt-hero h1 {
	font-size: clamp(46px, 6.8vw, 86px);
}

.rt-lede {
	max-width: 720px;
	margin: 26px 0 0;
	color: var(--rt-muted);
	font-size: clamp(19px, 2.2vw, 25px);
	line-height: 1.45;
}

.rt-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 34px;
}

.rt-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 18px;
	border: 1px solid var(--rt-ink);
	border-radius: 7px;
	background: var(--rt-ink);
	color: #fff !important;
	font-weight: 850;
	text-decoration: none;
}

.rt-button-secondary {
	background: transparent;
	color: var(--rt-ink) !important;
}

.rt-hero-card {
	position: relative;
	width: min(100%, 380px);
	margin: 0;
}

.rt-hero-card img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border: 1px solid var(--rt-line);
	border-radius: 8px;
	box-shadow: 0 26px 70px rgba(22, 22, 22, 0.18);
}

.rt-status-card {
	position: absolute;
	right: -16px;
	bottom: 28px;
	max-width: 250px;
	padding: 18px;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 8px;
	background: rgba(17, 22, 21, 0.9);
	color: #f9f4e8;
	box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
}

.rt-status-card strong {
	display: block;
	margin-bottom: 6px;
}

.rt-status-card span {
	display: block;
	color: #cfd5d1;
	font-size: 14px;
	line-height: 1.45;
}

.rt-proof {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	border-block: 1px solid var(--rt-line);
	background: #ebe5d9;
}

.rt-proof div {
	min-height: 140px;
	padding: 24px;
	border-right: 1px solid var(--rt-line);
}

.rt-proof div:last-child {
	border-right: 0;
}

.rt-proof strong {
	display: block;
	font-size: 30px;
	line-height: 1;
}

.rt-proof span {
	display: block;
	max-width: 250px;
	margin-top: 10px;
	color: var(--rt-muted);
	font-size: 14px;
	line-height: 1.4;
}

.rt-section {
	padding: clamp(64px, 8vw, 104px) clamp(20px, 5vw, 64px);
}

.rt-split {
	display: grid;
	grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.68fr);
	gap: clamp(36px, 7vw, 92px);
	align-items: start;
}

.rt-section h2,
.rt-cta h2 {
	font-size: clamp(34px, 5vw, 64px);
}

.rt-copy-stack p,
.rt-cta p {
	margin: 0;
	color: var(--rt-muted);
	font-size: 19px;
	line-height: 1.65;
}

.rt-copy-stack {
	display: grid;
	gap: 20px;
}

.rt-dark {
	background: var(--rt-charcoal);
	color: #f7f1e6;
}

.rt-section-head {
	max-width: 780px;
	margin-bottom: 34px;
}

.rt-project-grid,
.rt-log-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}

.rt-project-card,
.rt-log-grid a {
	min-height: 260px;
	padding: 24px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.05);
	text-decoration: none;
}

.rt-project-card:nth-child(2) {
	background: rgba(49, 92, 138, 0.22);
}

.rt-project-card:nth-child(3) {
	background: rgba(185, 71, 47, 0.2);
}

.rt-project-card span {
	color: var(--rt-gold);
	font-weight: 900;
}

.rt-project-card strong,
.rt-log-grid strong {
	display: block;
	margin-top: 44px;
	font-size: 24px;
	line-height: 1.1;
}

.rt-project-card p,
.rt-log-grid p {
	margin: 14px 0 0;
	color: #c5ccc8;
	font-size: 16px;
	line-height: 1.55;
}

.rt-build-log {
	background: var(--rt-paper);
}

.rt-build-log .rt-log-grid a {
	border-color: var(--rt-line);
	background: #f5f1e8;
	color: inherit;
	text-decoration: none;
	transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.rt-build-log .rt-log-grid a:hover {
	border-color: rgba(15, 118, 110, 0.45);
	box-shadow: 0 18px 46px rgba(22, 22, 22, 0.08);
	transform: translateY(-2px);
}

.rt-build-log .rt-log-grid strong {
	margin-top: 0;
	color: var(--rt-ink);
}

.rt-build-log .rt-log-grid p {
	color: var(--rt-muted);
}

.rt-cta {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 28px;
	align-items: center;
	padding: clamp(42px, 7vw, 76px) clamp(20px, 5vw, 64px);
	background: #dfe9e3;
	border-top: 1px solid #cad8d0;
}

.rt-cta p {
	max-width: 760px;
	margin-top: 14px;
}

.rt-page-shell {
	min-height: calc(100vh - 72px);
	padding: clamp(48px, 7vw, 86px) clamp(20px, 5vw, 64px);
	background:
		linear-gradient(180deg, rgba(255, 253, 248, 0.74), rgba(245, 241, 232, 0)),
		var(--rt-bg);
}

.rt-content-panel,
.rt-list-header {
	width: min(100%, 920px);
	margin: 0 auto;
}

.rt-content-panel {
	padding: clamp(28px, 5vw, 54px);
	border: 1px solid var(--rt-line);
	border-radius: 8px;
	background: rgba(255, 253, 248, 0.82);
	box-shadow: 0 24px 70px rgba(22, 22, 22, 0.08);
}

.rt-page-header {
	margin-bottom: clamp(28px, 5vw, 48px);
}

.rt-list-header {
	text-align: center;
}

.rt-list-header .rt-section-label {
	justify-content: center;
}

.rt-page-header.rt-list-header h1,
.rt-list-header .rt-page-intro {
	margin-left: auto;
	margin-right: auto;
}

.rt-category-nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-top: 28px;
}

.rt-category-nav a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 9px 14px;
	border: 1px solid var(--rt-line);
	border-radius: 7px;
	background: var(--rt-paper);
	color: var(--rt-ink);
	font-size: 14px;
	font-weight: 850;
	text-decoration: none;
	box-shadow: 0 10px 28px rgba(22, 22, 22, 0.05);
}

.rt-category-nav a:hover {
	border-color: rgba(15, 118, 110, 0.45);
	color: var(--rt-teal);
}

.rt-page-header h1 {
	margin: 0;
	max-width: 880px;
	font-size: clamp(42px, 7vw, 82px);
	font-weight: 900;
	letter-spacing: 0;
	line-height: 0.98;
}

.rt-page-intro {
	max-width: 720px;
	margin: 20px 0 0;
	color: var(--rt-muted);
	font-size: 20px;
	line-height: 1.55;
}

.rt-entry-content {
	color: var(--rt-ink);
	font-size: 18px;
	line-height: 1.72;
}

.rt-entry-content > * {
	max-width: 740px;
	margin-left: auto;
	margin-right: auto;
}

.rt-entry-content > *:first-child {
	margin-top: 0;
}

.rt-entry-content h2,
.rt-entry-content h3 {
	margin-top: 1.8em;
	margin-bottom: 0.5em;
	font-weight: 900;
	letter-spacing: 0;
	line-height: 1.08;
}

.rt-entry-content h2 {
	font-size: clamp(30px, 4vw, 44px);
}

.rt-entry-content h3 {
	font-size: clamp(24px, 3vw, 32px);
}

.rt-entry-content p,
.rt-entry-content ul,
.rt-entry-content ol {
	margin-top: 0;
	margin-bottom: 1.1em;
}

.rt-entry-content a,
.rt-post-card a:hover h2,
.rt-post-nav a:hover {
	color: var(--rt-teal);
}

.rt-entry-content img,
.rt-featured-image img {
	display: block;
	max-width: 100%;
	height: auto;
	border-radius: 8px;
}

.rt-featured-image {
	max-width: 860px;
	margin: 0 auto 34px;
}

.rt-post-panel {
	margin-bottom: 22px;
}

.rt-post-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
	width: min(100%, 1180px);
	margin: 0 auto;
}

.rt-post-card a {
	display: flex;
	flex-direction: column;
	min-height: 260px;
	padding: 24px;
	border: 1px solid var(--rt-line);
	border-radius: 8px;
	background: var(--rt-paper);
	color: inherit;
	text-decoration: none;
	box-shadow: 0 18px 52px rgba(22, 22, 22, 0.06);
}

.rt-post-card span {
	color: var(--rt-teal);
	font-size: 13px;
	font-weight: 850;
	text-transform: uppercase;
}

.rt-post-card h2 {
	margin: 44px 0 0;
	font-size: clamp(24px, 3vw, 32px);
	font-weight: 900;
	letter-spacing: 0;
	line-height: 1.05;
}

.rt-post-card p {
	margin: 14px 0 0;
	color: var(--rt-muted);
	font-size: 16px;
	line-height: 1.55;
}

.rt-pagination,
.rt-post-nav {
	width: min(100%, 920px);
	margin: 28px auto 0;
}

.rt-pagination .nav-links,
.rt-post-nav {
	display: flex;
	justify-content: space-between;
	gap: 16px;
}

.rt-pagination a,
.rt-pagination span,
.rt-post-nav a {
	color: var(--rt-muted);
	font-weight: 800;
	text-decoration: none;
}

.rt-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	padding: 26px clamp(20px, 5vw, 64px);
	background: var(--rt-charcoal);
	color: #e9e4d8;
}

.rt-footer span {
	color: #aeb5b0;
	font-size: 14px;
}

@media (max-width: 940px) {
	.rt-nav {
		position: static;
		align-items: flex-start;
		flex-direction: column;
		padding-block: 16px;
	}

	.rt-nav-links {
		flex-wrap: wrap;
	}

	.rt-hero,
	.rt-split,
	.rt-cta {
		grid-template-columns: 1fr;
	}

	.rt-hero {
		max-width: 720px;
		text-align: center;
	}

	.rt-kicker,
	.rt-section-label,
	.rt-actions,
	.rt-hero-card {
		justify-content: center;
		margin-left: auto;
		margin-right: auto;
	}

	.rt-proof,
	.rt-project-grid,
	.rt-log-grid,
	.rt-post-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.rt-status-card {
		position: static;
		max-width: none;
		margin-top: 12px;
	}
}

@media (max-width: 620px) {
	.rt-hero {
		padding-top: 34px;
	}

	.rt-hero h1 {
		font-size: 42px;
	}

	.rt-actions,
	.rt-button,
	.rt-footer {
		width: 100%;
	}

	.rt-proof,
	.rt-project-grid,
	.rt-log-grid,
	.rt-post-grid {
		grid-template-columns: 1fr;
	}

	.rt-content-panel {
		padding: 24px 20px;
	}

	.rt-page-header h1 {
		font-size: 40px;
	}

	.rt-proof div {
		border-right: 0;
		border-bottom: 1px solid var(--rt-line);
	}

	.rt-proof div:last-child {
		border-bottom: 0;
	}

	.rt-footer {
		align-items: flex-start;
		flex-direction: column;
	}
}
