:root {
	--tg-ink: #26333d;
	--tg-text: #3f3a3a;
	--tg-muted: #70676a;
	--tg-rose: #b96f78;
	--tg-rose-dark: #8f4e57;
	--tg-blush: #f8ecec;
	--tg-sage: #dfe9e2;
	--tg-paper: #fffdfb;
	--tg-soft: #f7f4f2;
	--tg-border: #eadfdd;
	--bs-body-font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--bs-body-color: var(--tg-text);
	--bs-link-color: var(--tg-rose-dark);
	--bs-link-hover-color: #6f3941;
	--bs-focus-ring-color: rgba(185, 111, 120, 0.35);
}

html {
	scroll-behavior: smooth;
}

body {
	background: linear-gradient(180deg, var(--tg-paper) 0, #fff 360px);
	text-rendering: optimizeLegibility;
}

a {
	color: var(--tg-rose-dark);
	text-underline-offset: 0.18em;
}

a:hover {
	color: #6f3941;
}

a:focus-visible,
button:focus-visible {
	outline: 3px solid var(--bs-focus-ring-color);
	outline-offset: 3px;
}

.skip-link {
	position: fixed;
	left: 1rem;
	top: 1rem;
	z-index: 1100;
	padding: 0.55rem 0.8rem;
	border-radius: 0.35rem;
	background: #fff;
	box-shadow: 0 0.5rem 1.5rem rgba(38, 51, 61, 0.16);
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 1020;
	background: rgba(255, 253, 251, 0.96);
	border-bottom: 1px solid var(--tg-border);
	backdrop-filter: blur(10px);
}

.navbar {
	--bs-navbar-padding-y: 0.85rem;
	--bs-navbar-toggler-border-color: var(--tg-border);
}

.navbar-brand {
	display: inline-flex;
	align-items: center;
	max-width: 220px;
	padding: 0;
}

.site-logo {
	display: block;
	width: 100%;
	height: auto;
}

.navbar-nav {
	--bs-nav-link-color: var(--tg-muted);
	--bs-nav-link-hover-color: var(--tg-ink);
	gap: 0.15rem;
}

.navbar-nav .nav-link {
	border-radius: 0.35rem;
	font-size: 0.96rem;
	font-weight: 600;
	padding-inline: 0.8rem;
}

.navbar-nav .nav-link.active {
	color: var(--tg-rose-dark);
	background: var(--tg-blush);
}

.site-main {
	min-height: 64vh;
}

.hero {
	padding: clamp(3.25rem, 7vw, 6.5rem) 0 clamp(2.25rem, 5vw, 4.25rem);
	border-bottom: 1px solid var(--tg-border);
	background:
		linear-gradient(135deg, rgba(248, 236, 236, 0.85), rgba(255, 255, 255, 0.72) 48%, rgba(223, 233, 226, 0.6));
}

.hero-logo {
	width: min(100%, 470px);
	height: auto;
	margin-bottom: 2rem;
}

.eyebrow {
	color: var(--tg-rose-dark);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.hero h1,
.article-body h1 {
	color: var(--tg-ink);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(2.35rem, 6vw, 4.75rem);
	line-height: 0.98;
}

.hero .lead {
	max-width: 46rem;
	color: #51494b;
	font-size: clamp(1.08rem, 2vw, 1.32rem);
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.5rem;
}

.btn-primary {
	--bs-btn-bg: var(--tg-rose-dark);
	--bs-btn-border-color: var(--tg-rose-dark);
	--bs-btn-hover-bg: #763d45;
	--bs-btn-hover-border-color: #763d45;
	--bs-btn-active-bg: #65343b;
	--bs-btn-active-border-color: #65343b;
}

.btn-outline-primary {
	--bs-btn-color: var(--tg-rose-dark);
	--bs-btn-border-color: rgba(143, 78, 87, 0.38);
	--bs-btn-hover-bg: var(--tg-rose-dark);
	--bs-btn-hover-border-color: var(--tg-rose-dark);
}

.section-band {
	padding: clamp(2.75rem, 6vw, 5rem) 0;
}

.section-band.soft {
	background: var(--tg-soft);
	border-block: 1px solid var(--tg-border);
}

.section-title {
	max-width: 42rem;
	margin-bottom: 1.75rem;
}

.section-title h2 {
	color: var(--tg-ink);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.8rem, 4vw, 2.75rem);
}

.link-card {
	height: 100%;
	border: 1px solid var(--tg-border);
	border-radius: 0.5rem;
	background: #fff;
	transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.link-card:hover,
.link-card:focus-within {
	border-color: rgba(185, 111, 120, 0.55);
	box-shadow: 0 1rem 2.5rem rgba(38, 51, 61, 0.08);
	transform: translateY(-2px);
}

.link-card a {
	display: block;
	height: 100%;
	padding: 1.15rem;
	color: inherit;
	text-decoration: none;
}

.link-card-icon {
	display: block;
	width: 4.75rem;
	height: 4.75rem;
	margin-bottom: 0.9rem;
	object-fit: contain;
}

.link-card h3 {
	color: var(--tg-ink);
	font-size: 1.1rem;
	margin-bottom: 0.35rem;
}

.link-card p {
	color: var(--tg-muted);
	font-size: 0.95rem;
	margin-bottom: 0;
}

.article-body {
	padding-block: clamp(2.75rem, 6vw, 5.5rem);
}

.article-body h1 {
	margin-bottom: 1rem;
}

.article-body h2,
.article-body h3,
.article-body h4,
.article-body h5,
.article-body h6 {
	color: var(--tg-ink);
	font-family: Georgia, "Times New Roman", serif;
	line-height: 1.16;
	margin-top: 2.25rem;
	margin-bottom: 0.8rem;
}

.article-body h2 {
	font-size: clamp(1.65rem, 3vw, 2.3rem);
}

.article-body h3,
.article-body h4,
.article-body h5,
.article-body h6 {
	font-size: clamp(1.25rem, 2vw, 1.6rem);
}

.article-body p,
.article-body li {
	font-size: 1.06rem;
	line-height: 1.75;
}

.article-body ul {
	padding-left: 1.25rem;
}

.type-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 1rem;
	padding-left: 0;
	margin: 2rem 0 0;
	list-style: none;
}

.type-grid li + li {
	margin-top: 0;
}

.type-grid a {
	display: grid;
	grid-template-columns: 4.5rem 1fr;
	align-items: center;
	gap: 1rem;
	min-height: 6.5rem;
	height: 100%;
	padding: 1rem;
	color: var(--tg-ink);
	text-decoration: none;
	background: #fff;
	border: 1px solid var(--tg-border);
	border-radius: 0.5rem;
	transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.type-grid a:hover,
.type-grid a:focus-visible {
	border-color: rgba(185, 111, 120, 0.55);
	box-shadow: 0 1rem 2.5rem rgba(38, 51, 61, 0.08);
	transform: translateY(-2px);
}

.type-grid img {
	width: 4.5rem;
	height: 4.5rem;
	object-fit: contain;
}

.type-grid span {
	font-weight: 700;
	line-height: 1.25;
}

.article-image {
	display: block;
	width: 100%;
	height: auto;
	margin: 1.5rem 0 2rem;
	border-radius: 0.5rem;
}

.article-body li + li {
	margin-top: 0.35rem;
}

.article-body a[target="_blank"]::after {
	content: " ↗";
	font-size: 0.8em;
}

.site-footer {
	padding: 2.5rem 0;
	color: #5b5557;
	background: #f4f6f4;
	border-top: 1px solid var(--tg-border);
}

.site-footer a {
	color: #4f5751;
	text-decoration-color: rgba(79, 87, 81, 0.35);
}

.footer-brand,
.footer-heading {
	color: var(--tg-ink);
	font-weight: 700;
}

.footer-heading {
	margin-bottom: 0.65rem;
	font-size: 0.82rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

@media (max-width: 991.98px) {
	.navbar-collapse {
		padding-top: 0.8rem;
	}

	.navbar-nav .nav-link {
		padding-inline: 0;
	}
}

@media (max-width: 575.98px) {
	.navbar-brand {
		max-width: 180px;
	}

	.hero-actions .btn {
		width: 100%;
	}
}
