/* Kappa House on Prospect - site stylesheet */
@import url("../fonts/Playfair_Display/font_2.css");
@import url("../fonts/Montserrat/font_2.css");
@import url("../fonts/Maven_Pro/font_2.css");

:root {
	--navy: #153a70;
	--blue: #1f5fa8;
	--sky: #1aa8de;
	--light: #eef5fb;
	--cream: #f8f6f1;
	--text: #2b3442;
	--muted: #5d6878;
	--border: #dbe4ee;
	--radius: 10px;
	--shadow: 0 6px 24px rgba(21, 58, 112, .10);
}

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

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: "Maven Pro", "Segoe UI", Arial, sans-serif;
	font-size: 17px;
	line-height: 1.7;
	color: var(--text);
	background: #fff;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--blue); }
a:hover { color: var(--sky); }

h1, h2, h3 {
	font-family: "Playfair Display", Georgia, serif;
	color: var(--navy);
	line-height: 1.25;
	margin: 0 0 .6em;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 22px; }

/* ---------- Header & navigation ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: #fff;
	border-bottom: 3px solid var(--sky);
	box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
}
.site-header .container { max-width: 1320px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 78px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); flex-shrink: 0; }
.brand img { width: 92px; }
.brand span { font-family: "Playfair Display", Georgia, serif; font-size: 1.15rem; font-weight: 700; line-height: 1.15; }
.brand:hover { color: var(--blue); }

.main-nav { flex: 1; }
.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: nowrap; justify-content: flex-end; white-space: nowrap; }
.main-nav li { position: relative; }
.main-nav a {
	display: block;
	padding: 10px 9px;
	font-family: "Montserrat", Arial, sans-serif;
	font-size: .74rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--navy);
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--sky); }
.main-nav .has-sub > a::after { content: " \25BE"; font-size: .7em; }

.main-nav .sub {
	list-style: none;
	margin: 0;
	padding: 8px 0;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 240px;
	background: #fff;
	border-top: 3px solid var(--sky);
	box-shadow: var(--shadow);
	border-radius: 0 0 var(--radius) var(--radius);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: all .18s ease;
}
.main-nav li:last-child .sub { left: auto; right: 0; }
.main-nav li:hover > .sub, .main-nav li:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub a { text-transform: none; letter-spacing: .02em; font-size: .85rem; font-weight: 600; padding: 8px 18px; }
.main-nav .sub a:hover { background: var(--light); }

.nav-toggle { display: none; }
.nav-toggle-label { display: none; cursor: pointer; padding: 14px 6px; }
.nav-toggle-label span, .nav-toggle-label span::before, .nav-toggle-label span::after {
	display: block; width: 26px; height: 3px; background: var(--navy); border-radius: 2px; position: relative; content: "";
}
.nav-toggle-label span::before { position: absolute; top: -8px; }
.nav-toggle-label span::after { position: absolute; top: 8px; }

@media (max-width: 1180px) {
	.nav-toggle-label { display: block; }
	.main-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: #fff;
		border-bottom: 3px solid var(--sky);
		max-height: calc(100vh - 80px);
		overflow-y: auto;
		box-shadow: var(--shadow);
	}
	.nav-toggle:checked ~ .main-nav { display: block; }
	.main-nav > ul { display: block; padding: 8px 22px 18px; white-space: normal; }
	.main-nav a { padding: 10px 0; font-size: .82rem; border-bottom: 1px solid var(--border); }
	.main-nav .has-sub > a::after { content: ""; }
	.main-nav .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 16px; min-width: 0; }
	.main-nav .sub a { padding: 8px 0; }
}

/* ---------- Hero ---------- */
.hero {
	position: relative;
	color: #fff;
	text-align: center;
	padding: 90px 0 80px;
	background: var(--navy) center/cover no-repeat;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 30, 60, .70), rgba(21, 58, 112, .78)); }
.hero .container { position: relative; }
.hero h1 { color: #fff; margin-bottom: .35em; text-shadow: 0 2px 12px rgba(0, 0, 0, .35); }
.hero p.lead { font-size: 1.2rem; max-width: 760px; margin: 0 auto; color: #e6f0fa; }
.hero-home { padding: 130px 0 120px; }
.hero .btn { margin-top: 26px; }

.breadcrumb { font-family: "Montserrat", Arial, sans-serif; font-size: .78rem; letter-spacing: .05em; margin-bottom: 14px; color: #cfe3f5; }
.breadcrumb a { color: #fff; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-block;
	padding: 13px 30px;
	border-radius: 40px;
	background: var(--sky);
	color: #fff;
	font-family: "Montserrat", Arial, sans-serif;
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background .2s;
}
.btn:hover { background: var(--blue); color: #fff; }
.btn-outline { background: transparent; border: 2px solid #fff; }
.btn-outline:hover { background: #fff; color: var(--navy); }

/* ---------- Sections ---------- */
.section { padding: 70px 0; }
.section-alt { background: var(--light); }
.section-cream { background: var(--cream); }
.section-intro { max-width: 820px; margin: 0 auto 40px; text-align: center; }

.content { max-width: 860px; margin: 0 auto; }
.content ul, .content ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.content li { margin-bottom: .4em; }
.content h2 { margin-top: 1.6em; }
.content h2:first-child { margin-top: 0; }
.content h3 { margin-top: 1.4em; }

.grid-2 { display: grid; grid-template-columns: 1.6fr 1fr; gap: 50px; align-items: start; }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
@media (max-width: 860px) { .grid-2 { grid-template-columns: 1fr; } }

.card {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 26px;
	box-shadow: var(--shadow);
}
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
a.card { display: block; text-decoration: none; color: var(--text); transition: transform .18s, border-color .18s; }
a.card:hover { transform: translateY(-3px); border-color: var(--sky); }
a.card .more { font-family: "Montserrat", Arial, sans-serif; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sky); }

.figure { margin: 0 0 1.6em; }
.figure img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.figure figcaption { font-size: .9rem; color: var(--muted); margin-top: 8px; text-align: center; }

blockquote {
	margin: 1.8em 0;
	padding: 22px 28px;
	border-left: 5px solid var(--sky);
	background: var(--light);
	border-radius: 0 var(--radius) var(--radius) 0;
	font-family: "Playfair Display", Georgia, serif;
	font-style: italic;
	font-size: 1.2rem;
	color: var(--navy);
}
blockquote cite { display: block; margin-top: 10px; font-family: "Montserrat", Arial, sans-serif; font-style: normal; font-size: .82rem; color: var(--muted); }

.callout { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 30px; }
.callout h2, .callout h3 { color: #fff; }
.callout a { color: #9fdcf5; }
.callout p:last-child { margin-bottom: 0; }

/* Progress meter */
.meter { margin: 26px 0; }
.meter-bar { height: 22px; background: #dce8f3; border-radius: 20px; overflow: hidden; }
.meter-fill { height: 100%; background: linear-gradient(90deg, var(--blue), var(--sky)); border-radius: 20px; }
.meter-labels { display: flex; justify-content: space-between; font-family: "Montserrat", Arial, sans-serif; font-size: .8rem; font-weight: 700; color: var(--navy); margin-top: 8px; }
.stat { font-family: "Playfair Display", Georgia, serif; font-size: 3rem; font-weight: 700; color: var(--navy); line-height: 1; }

/* Updates timeline */
.updates { border-left: 3px solid var(--sky); padding-left: 22px; }
.update { margin-bottom: 26px; position: relative; }
.update::before { content: ""; position: absolute; left: -31px; top: 7px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--sky); }
.update-date { font-family: "Montserrat", Arial, sans-serif; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sky); margin-bottom: 4px; }
.update p { font-size: .96rem; margin-bottom: .6em; }

/* Tables */
.table-wrap { overflow-x: auto; margin: 0 0 1.6em; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); }
th { background: var(--navy); color: #fff; font-family: "Montserrat", Arial, sans-serif; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
tr:nth-child(even) td { background: var(--light); }

/* FAQ */
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 16px; background: #fff; }
.faq-item h3 { font-size: 1.12rem; margin: 0 0 .5em; }
.faq-item p:last-child { margin-bottom: 0; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; margin-bottom: 1.6em; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.gallery figcaption { font-size: .88rem; color: var(--muted); margin-top: 8px; }

/* Mission band */
.band {
	position: relative;
	color: #fff;
	padding: 80px 0;
	background: var(--navy) center/cover no-repeat;
}
.band::before { content: ""; position: absolute; inset: 0; background: rgba(12, 32, 64, .78); }
.band .container { position: relative; max-width: 900px; text-align: center; }
.band h2 { color: #fff; }
.band p { color: #e6f0fa; }

/* ---------- Footer ---------- */
.site-footer { background: #0f2c55; color: #c9d8ea; padding: 60px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 36px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-title { font-family: "Montserrat", Arial, sans-serif; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.site-footer a { color: #9fdcf5; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.footer-logo { background: #fff; border-radius: var(--radius); padding: 10px; width: 170px; margin-bottom: 14px; }
.footer-note { font-size: .84rem; color: #9fb3cc; }
.footer-bottom { margin-top: 44px; border-top: 1px solid rgba(255, 255, 255, .12); padding: 20px 0; font-size: .82rem; color: #8ea4bf; text-align: center; }

.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.small { font-size: .9rem; color: var(--muted); }
