:root
{
	--ukb-ink: #24314a;
	--ukb-navy: #172640;
	--ukb-burgundy: #874355;
	--ukb-gold: #c29455;
	--ukb-cream: #f7f3eb;
	--ukb-paper: #fffdfa;
	--ukb-muted: #6d7480;
	--ukb-border: #e7ded2;
}

html
{
	scroll-behavior: smooth;
}

body
{
	background: var(--ukb-paper);
	color: var(--ukb-ink);
	font-family: "Segoe UI", Arial, sans-serif;
	line-height: 1.7;
}

h1,
h2,
h3,
h4
{
	color: var(--ukb-ink);
	font-family: Georgia, "Times New Roman", serif;
	font-weight: 400;
	letter-spacing: -0.02em;
}

a
{
	color: var(--ukb-burgundy);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

a:hover
{
	color: var(--ukb-navy);
}

.site-utility
{
	background: var(--ukb-navy);
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.78rem;
	letter-spacing: 0.04em;
}

.site-utility a
{
	color: #fff;
}

.site-header
{
	background: var(--ukb-paper);
	border-bottom: 1px solid var(--ukb-border);
}

.navbar
{
	min-height: 5.6rem;
}

.brand-mark
{
	background: var(--ukb-burgundy);
	color: #fff;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 0.85rem;
	height: 2.8rem;
	letter-spacing: 0.08em;
	width: 2.8rem;
}

.brand-name
{
	color: var(--ukb-navy);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.35rem;
	line-height: 1.1;
}

.brand-tagline
{
	color: var(--ukb-muted);
	font-size: 0.7rem;
	letter-spacing: 0.08em;
	line-height: 1.5;
	text-transform: uppercase;
}

.navbar-nav .nav-link
{
	color: var(--ukb-ink);
	font-size: 0.9rem;
	padding-left: 0.75rem !important;
	padding-right: 0.75rem !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active
{
	color: var(--ukb-burgundy);
}

.dropdown-menu
{
	border: 1px solid var(--ukb-border);
	border-radius: 0.5rem;
	box-shadow: 0 0.75rem 2rem rgba(23, 38, 64, 0.12);
}

.dropdown-item
{
	color: var(--ukb-ink);
}

.dropdown-item:hover
{
	background: var(--ukb-cream);
	color: var(--ukb-burgundy);
}

.hero-section
{
	background: var(--ukb-navy);
	color: rgba(255, 255, 255, 0.78);
	overflow: hidden;
	position: relative;
}

.hero-section::after
{
	border: 1px solid rgba(194, 148, 85, 0.25);
	border-radius: 50%;
	content: "";
	height: 32rem;
	position: absolute;
	right: -12rem;
	top: -14rem;
	width: 32rem;
}

.hero-section h1,
.hero-section h2,
.hero-section h3
{
	color: #fff;
}

.hero-intro
{
	font-size: clamp(1.1rem, 2vw, 1.35rem);
	max-width: 42rem;
}

.section-label
{
	color: var(--ukb-burgundy);
	font-size: 0.73rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	margin-bottom: 0;
	text-transform: uppercase;
}

.hero-section .section-label,
.page-hero .section-label
{
	color: var(--ukb-gold);
}

.hero-card
{
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 0.75rem;
	padding: 2rem;
}

.hero-card .h3
{
	font-size: 1.55rem;
}

.record-icon
{
	background: var(--ukb-gold);
	color: var(--ukb-navy);
	font-size: 0.7rem;
	font-weight: 700;
	height: 2rem;
	letter-spacing: 0.08em;
	width: 2rem;
}

.btn-primary
{
	--bs-btn-bg: var(--ukb-burgundy);
	--bs-btn-border-color: var(--ukb-burgundy);
	--bs-btn-hover-bg: #6f3546;
	--bs-btn-hover-border-color: #6f3546;
	--bs-btn-active-bg: #6f3546;
	--bs-btn-active-border-color: #6f3546;
}

.btn-outline-primary
{
	--bs-btn-color: var(--ukb-burgundy);
	--bs-btn-border-color: var(--ukb-burgundy);
	--bs-btn-hover-bg: var(--ukb-burgundy);
	--bs-btn-hover-border-color: var(--ukb-burgundy);
	--bs-btn-active-bg: var(--ukb-burgundy);
	--bs-btn-active-border-color: var(--ukb-burgundy);
}

.info-card,
.link-card
{
	background: var(--ukb-paper);
	border: 1px solid var(--ukb-border);
	border-radius: 0.65rem;
	box-shadow: 0 0.35rem 1rem rgba(23, 38, 64, 0.04);
}

.info-card
{
	transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.info-card:hover
{
	border-color: rgba(135, 67, 85, 0.4);
	box-shadow: 0 0.75rem 1.75rem rgba(23, 38, 64, 0.08);
	transform: translateY(-3px);
}

.card-number
{
	color: var(--ukb-gold);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.5rem;
}

.timeline-section
{
	background: var(--ukb-cream);
	border-bottom: 1px solid var(--ukb-border);
	border-top: 1px solid var(--ukb-border);
}

.timeline-item
{
	gap: 1.25rem;
	grid-template-columns: 5rem 1fr;
	padding: 0 0 2rem 0;
	position: relative;
}

.timeline-item:not(:last-child)::after
{
	background: var(--ukb-gold);
	bottom: 0;
	content: "";
	left: 2.5rem;
	position: absolute;
	top: 2.1rem;
	width: 1px;
}

.timeline-year
{
	color: var(--ukb-burgundy);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.1rem;
	font-weight: 700;
	position: relative;
	text-align: center;
	z-index: 1;
}

.timeline-year::before
{
	background: var(--ukb-gold);
	border: 4px solid var(--ukb-cream);
	border-radius: 50%;
	content: "";
	height: 0.95rem;
	left: 2.05rem;
	position: absolute;
	top: 1.65rem;
	transform: translate(-50%, -50%);
	width: 0.95rem;
}

.page-hero
{
	background: var(--ukb-navy);
	color: rgba(255, 255, 255, 0.78);
}

.page-hero h1
{
	color: #fff;
}

.page-hero .lead
{
	max-width: 52rem;
}

.content-prose
{
	font-size: 1.02rem;
}

.content-prose > p:first-child
{
	font-size: 1.15rem;
}

.content-section
{
	border-top: 1px solid var(--ukb-border);
}

.record-list li
{
	margin-bottom: 0.55rem;
	padding-left: 1.5rem;
	position: relative;
}

.record-list li::before
{
	color: var(--ukb-gold);
	content: "◆";
	font-size: 0.55rem;
	left: 0.2rem;
	position: absolute;
	top: 0.35rem;
}

.date-badge
{
	background: var(--ukb-cream);
	border: 1px solid var(--ukb-border);
	color: var(--ukb-burgundy);
	letter-spacing: 0.05em;
	white-space: nowrap;
}

.record-figure-end
{
	max-width: 46%;
}

.record-figure img
{
	background: #fff;
	border: 1px solid var(--ukb-border);
}

.record-figure figcaption
{
	color: var(--ukb-muted);
	font-size: 0.78rem;
	line-height: 1.45;
}

.record-figure-wide
{
	margin-top: 1.5rem;
	max-width: 34rem;
}

.sidebar-card
{
	background: var(--ukb-cream);
	border: 1px solid var(--ukb-border);
	border-radius: 0.65rem;
	top: 2rem;
}

.check-list li
{
	border-bottom: 1px solid var(--ukb-border);
}

.check-list li::before
{
	color: var(--ukb-burgundy);
	content: "✓";
	display: inline-block;
	font-weight: 700;
	margin-right: 0.5rem;
}

.story-portrait
{
	background: #fff;
	border: 1px solid var(--ukb-border);
	width: 8.5rem;
}

.resource-card
{
	background: #fff;
	border: 1px solid var(--ukb-border);
	border-radius: 0.65rem;
}

.resource-image-wrap
{
	background: var(--ukb-cream);
	height: 11rem;
}

.resource-image
{
	object-fit: cover;
	object-position: top;
}

.search-panel
{
	background: var(--ukb-cream);
	border: 1px solid var(--ukb-border);
	border-radius: 0.65rem;
	padding: 2rem;
}

.search-panel .form-control
{
	background: #fff;
	border-color: var(--ukb-border);
}

.product-card
{
	background: #fff;
	border: 1px solid var(--ukb-border);
	border-radius: 0.5rem;
	color: var(--ukb-ink);
}

.product-card:hover
{
	border-color: var(--ukb-burgundy);
	color: var(--ukb-burgundy);
}

.empty-state
{
	background: var(--ukb-cream);
	border: 1px dashed var(--ukb-border);
	border-radius: 0.5rem;
	color: var(--ukb-muted);
}

.link-note
{
	background: var(--ukb-cream);
	border: 1px solid var(--ukb-border);
	border-radius: 0.65rem;
}

.site-footer
{
	background: var(--ukb-navy);
	color: rgba(255, 255, 255, 0.68);
}

.site-footer .footer-title
{
	color: #fff;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.3rem;
}

.site-footer a
{
	color: #fff;
}

@media (max-width: 767.98px)
{
	.hero-card
	{
		padding: 1.25rem;
	}

	.record-figure-end
	{
		max-width: 100%;
	}

	.story-portrait
	{
		width: 7rem;
	}

	.search-panel
	{
		padding: 1.25rem;
	}
}
