/* Longonot — discovery theme for Kisomo Kenya
   Inspired by research.yale.edu (Yale Blue, generous type, overlapping cores), not a copy. */
:root {
	--ln-blue: #0c3a66;
	--ln-deep: #072844;
	--ln-sky: #2b6ea8;
	--ln-paper: #f7f5f0;
	--ln-white: #fff;
	--ln-ink: #1b2430;
	--ln-mute: #5c6774;
	--ln-line: rgba(12, 58, 102, 0.14);
	--ln-gold: #c4a46a;
}

body.ln {
	font-family: Figtree, "Segoe UI", sans-serif;
	background: var(--ln-white);
	color: var(--ln-ink);
	margin: 0;
	overflow-x: hidden;
}
img, iframe, video { max-width: 100%; }

.ln-shell {
	width: min(1140px, calc(100% - 48px));
	margin: 0 auto;
}

.ln-kicker {
	font-size: 0.74rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--ln-sky);
	margin-bottom: 8px;
}
.ln-kicker-light { color: #d7e6f4; }

.ln-ribbon {
	background: var(--ln-deep);
	color: #d7e6f4;
	font-size: 0.82rem;
}
.ln-ribbon-inner {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	align-items: center;
	padding: 8px 0;
}
.ln-ribbon-links { display: flex; gap: 18px; }
.ln-ribbon-links a { color: #fff; text-decoration: none; font-weight: 600; }
.ln-ribbon-links a:hover { color: var(--ln-gold); }

.ln-mast {
	background: var(--ln-white);
	border-bottom: 1px solid var(--ln-line);
	position: sticky;
	top: 0;
	z-index: 20;
}
.ln-mast-inner {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: 88px;
	position: relative;
}
.ln-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--ln-blue);
	text-decoration: none;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-weight: 600;
	font-size: 1.35rem;
	line-height: 1.15;
	min-width: 200px;
}
.ln-brand small {
	display: block;
	font-family: Figtree, sans-serif;
	font-size: 0.68rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ln-sky);
	font-weight: 700;
}
.ln-brand img {
	width: 52px;
	height: 52px;
	object-fit: contain;
}
.ln-toggle {
	display: none;
	margin-left: auto;
	background: var(--ln-blue);
	border: 0;
	color: #fff;
	width: 44px;
	height: 44px;
	min-width: 44px;
}
.ln-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 20px;
	margin-left: auto;
}
.ln-menu a {
	color: var(--ln-blue);
	text-decoration: none;
	font-weight: 600;
	padding: 8px 0;
	border-bottom: 2px solid transparent;
}
.ln-menu a:hover,
.ln-menu a.is-on {
	border-bottom-color: var(--ln-gold);
}

.ln-canvas { min-height: 50vh; }

.ln-hero {
	min-height: 62vh;
	background: var(--ln-deep) center/cover no-repeat;
	display: flex;
	align-items: flex-end;
	position: relative;
	padding: 64px 0 120px;
	overflow: hidden;
}
.ln-hero-veil {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(90deg, rgba(7, 40, 68, 0.82) 0%, rgba(7, 40, 68, 0.28) 70%);
	pointer-events: none;
}
.ln-hero-copy {
	position: relative;
	z-index: 2;
	color: #fff;
	max-width: 40rem;
}
.ln-hero h1 {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: clamp(2.4rem, 5.4vw, 4.2rem);
	line-height: 1.05;
	margin: 0 0 14px;
	font-weight: 600;
}
.ln-hero-copy p { font-size: 1.12rem; max-width: 32rem; }

.ln-cores { margin-top: -72px; position: relative; z-index: 2; }
.ln-cores-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}
.ln-core {
	background: var(--ln-white);
	padding: 28px 32px;
	text-decoration: none;
	color: inherit;
	box-shadow: 0 18px 40px rgba(7, 40, 68, 0.14);
	border-top: 4px solid var(--ln-blue);
}
.ln-core h2 {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 1.8rem;
	margin: 0 0 8px;
}
.ln-core span {
	color: var(--ln-blue);
	font-weight: 700;
	border-bottom: 2px solid var(--ln-gold);
}

.ln-lives {
	background: var(--ln-blue);
	color: #e8eef5;
	padding: 72px 0;
	margin-top: 56px;
}
.ln-lives h2 {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: clamp(1.8rem, 3.5vw, 2.8rem);
	color: #fff;
	margin: 0 0 20px;
}
.ln-lives blockquote {
	margin: 0 0 16px;
	max-width: 44rem;
	border-left: 3px solid var(--ln-gold);
	padding-left: 20px;
}
.ln-lives blockquote p {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: clamp(1.35rem, 2.4vw, 1.85rem);
	font-style: italic;
	line-height: 1.4;
	color: #fff;
	margin: 0;
}
.ln-lives-note { max-width: 36rem; margin-bottom: 22px; }

.ln-impact { padding: 72px 0; background: var(--ln-paper); }
.ln-impact h2 {
	font-family: "Cormorant Garamond", Georgia, serif;
	margin: 0 0 28px;
	font-size: 2rem;
}
.ln-impact-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}
.ln-impact-grid a {
	background: #fff;
	padding: 24px;
	text-decoration: none;
	color: inherit;
	border: 1px solid var(--ln-line);
}
.ln-impact-grid strong {
	display: block;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 1.5rem;
	color: var(--ln-blue);
	margin-bottom: 6px;
}
.ln-impact-grid span { color: var(--ln-mute); }

.ln-block { padding: 64px 0; }
.ln-block-soft { background: var(--ln-paper); }
.ln-block h1,
.ln-block h2,
.ln-page h1 {
	font-family: "Cormorant Garamond", Georgia, serif;
}
.ln-block-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 16px;
	margin-bottom: 28px;
}
.ln-block-head h2 { margin: 0; }

.ln-text {
	color: var(--ln-blue);
	font-weight: 700;
	text-decoration: none;
	border-bottom: 2px solid var(--ln-gold);
}
.ln-text:hover { color: var(--ln-sky); }
.ln-btn {
	display: inline-flex;
	align-items: center;
	background: var(--ln-blue);
	color: #fff;
	padding: 11px 18px;
	text-decoration: none;
	font-weight: 700;
}
.ln-btn:hover { color: #fff; background: var(--ln-deep); }
.ln-btn-ghost {
	background: transparent;
	border: 1px solid #fff;
	color: #fff;
}
.ln-btn-ghost:hover { background: #fff; color: var(--ln-blue); }

.ln-news {
	list-style: none;
	padding: 0;
	margin: 0;
}
.ln-news li { border-bottom: 1px solid var(--ln-line); }
.ln-news a {
	display: grid;
	grid-template-columns: 160px 1fr;
	gap: 18px;
	padding: 18px 0;
	color: inherit;
	text-decoration: none;
	align-items: center;
}
.ln-news img,
.ln-gap {
	width: 160px;
	height: 110px;
	object-fit: cover;
	background: #d5dde6;
}
.ln-news p {
	color: var(--ln-sky);
	font-size: 0.78rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-weight: 700;
	margin: 0 0 4px;
}
.ln-news h3 {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 1.45rem;
	margin: 0;
	color: var(--ln-blue);
}

.ln-quotes {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
.ln-quotes article {
	background: #fff;
	padding: 22px;
	border-left: 4px solid var(--ln-blue);
}
.ln-quotes p { font-style: italic; color: var(--ln-mute); }
.ln-quotes a {
	color: var(--ln-blue);
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 1.2rem;
	font-weight: 600;
	text-decoration: none;
}

#map {
	width: 100%;
	height: 380px;
	background: #d5dde6;
}

.ln-page { padding: 40px 0 64px; }
.ln-page h1 {
	font-size: clamp(2rem, 4.4vw, 3.2rem);
	margin: 0 0 16px;
	color: var(--ln-blue);
}
.ln-prose {
	font-size: 1.08rem;
	line-height: 1.85;
	max-width: 44rem;
}
.ln-split {
	display: grid;
	grid-template-columns: 1.45fr 0.9fr;
	gap: 36px;
	align-items: start;
}
.ln-split img { width: 100%; object-fit: cover; }

.ln-news-list {
	list-style: none;
	padding: 0;
	margin: 0;
}
.ln-news-list li {
	padding: 16px 0;
	border-bottom: 1px solid var(--ln-line);
}
.ln-news-list a {
	color: var(--ln-blue);
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 1.35rem;
	text-decoration: none;
}
.ln-news-list p { margin: 4px 0 0; color: var(--ln-mute); }

.ln-story-hero img {
	width: 100%;
	max-height: 440px;
	object-fit: cover;
	margin: 16px 0 28px;
}
.ln-side a {
	display: block;
	color: var(--ln-blue);
	font-weight: 700;
	margin-bottom: 8px;
	text-decoration: none;
}

.ln-albums {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 24px;
	list-style: none;
	padding: 0;
}
.ln-albums a { color: inherit; text-decoration: none; }
.ln-albums img,
.ln-prints img {
	width: 100%;
	height: 180px;
	object-fit: cover;
	display: block;
}
.ln-albums h3 {
	font-family: "Cormorant Garamond", Georgia, serif;
	margin: 10px 0 4px;
	color: var(--ln-blue);
}
.ln-prints {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	gap: 10px;
}
.ln-prints button { border: 0; padding: 0; background: none; cursor: pointer; }

.ln-lightbox {
	position: fixed;
	inset: 0;
	background: rgba(7, 40, 68, 0.94);
	z-index: 50;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}
.ln-lightbox[hidden] { display: none !important; }
.ln-lightbox img { max-width: 92vw; max-height: 78vh; }
.ln-lightbox-close,
.ln-lightbox-nav {
	position: absolute;
	background: transparent;
	border: 0;
	color: #fff;
	font-size: 2rem;
	cursor: pointer;
	width: 48px;
	height: 48px;
}
.ln-lightbox-close { top: 12px; right: 12px; z-index: 3; }
.ln-lightbox-prev,
.ln-lightbox-next { top: 50%; transform: translateY(-50%); z-index: 2; }
.ln-lightbox-prev { left: 8px; }
.ln-lightbox-next { right: 8px; }
body.ln-lightbox-open { overflow: hidden; }

.ln-profile {
	display: grid;
	grid-template-columns: 230px 1fr;
	gap: 32px;
}
.ln-profile img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }

.ln-foot {
	background: var(--ln-deep);
	color: #c9d6e4;
	padding: 52px 0 16px;
}
.ln-foot-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}
.ln-foot-name {
	font-family: "Cormorant Garamond", Georgia, serif;
	color: #fff;
	font-size: 1.45rem;
	margin: 0 0 8px;
}
.ln-foot a { color: #fff; text-decoration: none; }
.ln-foot a:hover { color: var(--ln-gold); }
.ln-foot-copy {
	border-top: 1px solid rgba(255,255,255,0.12);
	margin-top: 28px;
	padding-top: 12px;
	font-size: 0.85rem;
}

.kisomo-empty-state { max-width: 36rem; margin: 0 auto; text-align: center; }
.kisomo-empty-title { font-family: "Cormorant Garamond", Georgia, serif; color: var(--ln-blue); }
.kisomo-empty-copy { color: var(--ln-mute); }
.kisomo-empty-orb {
	width: 88px;
	height: 88px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(12, 58, 102, 0.1);
	color: var(--ln-blue);
	font-size: 1.6rem;
}

.ln-switch {
	background: #fff;
	border: 1px solid var(--ln-line);
	color: var(--ln-ink);
	font-weight: 700;
}
.btn-check:checked + .ln-switch {
	background: var(--ln-blue);
	border-color: var(--ln-blue);
	color: #fff;
}
.fee-table-view .table thead th,
.fee-govt-view .table thead th,
.fee-mobile-view .table thead th {
	background: var(--ln-blue);
	color: #fff;
	border: none;
}
.fee-pdf-iframe { width: 100%; height: 75vh; min-height: 600px; border: 0; }

.ln-year-impact {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin: 24px 0 32px;
}
.ln-year-impact div {
	background: var(--ln-paper);
	padding: 20px;
	border: 1px solid var(--ln-line);
}
.ln-year-impact strong {
	display: block;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 2.2rem;
	color: var(--ln-blue);
}
.ln-year-cores {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-bottom: 40px;
}
.ln-year-cores article {
	background: #fff;
	padding: 24px;
	box-shadow: 0 16px 32px rgba(7, 40, 68, 0.1);
	border-top: 4px solid var(--ln-blue);
}
.ln-year-cores h2 {
	font-size: 1.6rem;
	margin: 0 0 12px;
}
.ln-year-news {
	list-style: none;
	padding: 0;
	margin: 0;
}
.ln-year-news li {
	padding: 16px 0;
	border-bottom: 1px solid var(--ln-line);
}
.ln-year-news p {
	color: var(--ln-sky);
	font-size: 0.78rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-weight: 700;
	margin: 0 0 4px;
}
.ln-year-news h3 {
	font-family: "Cormorant Garamond", Georgia, serif;
	color: var(--ln-blue);
	margin: 0;
	font-size: 1.4rem;
}

@media (max-width: 991px) {
	.ln-toggle { display: inline-flex; align-items: center; justify-content: center; }
	.ln-menu {
		display: none;
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		background: #fff;
		flex-direction: column;
		padding: 12px 20px 20px;
		border-bottom: 1px solid var(--ln-line);
	}
	body.ln-open .ln-menu { display: flex; }
	.ln-menu a { min-height: 44px; display: flex; align-items: center; }
	.ln-cores-row,
	.ln-impact-grid,
	.ln-quotes,
	.ln-split,
	.ln-profile,
	.ln-foot-grid,
	.ln-news a,
	.ln-year-impact,
	.ln-year-cores { grid-template-columns: 1fr; }
	.ln-news img,
	.ln-gap { width: 100%; height: 180px; }
	.ln-hero {
		min-height: 0;
		padding: 40px 0 72px;
	}
	.ln-hero h1 { font-size: clamp(1.8rem, 9vw, 2.6rem); word-break: break-word; }
	.ln-brand { min-width: 0; flex: 1; }
	.ln-brand span { overflow-wrap: anywhere; }
	.ln-ribbon-inner { flex-direction: column; align-items: flex-start; }
	.ln-cores { margin-top: -40px; }
	.ln-core { padding: 18px; }
	#map { height: 260px; }
	.fee-pdf-iframe { height: 55vh; min-height: 320px; }
}
@media (max-width: 575px) {
	.ln-shell { width: min(1140px, calc(100% - 24px)); }
	.ln-lightbox { padding: 56px 8px 12px; }
	.ln-hero { padding: 28px 0 56px; }
}
