:root {
	--ink: #0f1e36;
	--muted: #5c6470;
	--line: #eee9dd;
	--line-soft: #f3eee4;
	--panel: #ffffff;
	--bg: #fdfbf7;
	--cream: #f7f4ee;
	--cream-2: #eee9dd;
	--brand: #0f1e36;
	--brand-2: #1e3a8a;
	--gold: #b4842d;
	--gold-light: #dfc48c;
	--ok: #0f7b4f;
	--warn: #a15c08;
	--bad: #a62929;
	--shadow: 0 20px 60px rgba(15, 30, 54, .12);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.feccu {
	margin: 0;
	background-color: var(--bg);
	background-image: radial-gradient(rgba(180, 132, 45, 0.05) 1px, transparent 1px), radial-gradient(rgba(15, 30, 54, 0.03) 1px, transparent 1px);
	background-size: 24px 24px;
	background-position: 0 0, 12px 12px;
	color: var(--ink);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	letter-spacing: 0;
	overflow-x: hidden;
	width: 100%;
	max-width: 100vw;
}

.feccu * { box-sizing: border-box; }
.feccu a { color: inherit; text-decoration: none; }
.feccu img, .feccu video { max-width: 100%; display: block; }
.feccu h1, .feccu h2, .feccu h3, .feccu p { overflow-wrap: anywhere; }
.feccu main,
.feccu section,
.feccu header,
.feccu footer,
.feccu article,
.feccu form,
.feccu div {
	min-width: 0;
}

.feccu table,
.feccu input,
.feccu textarea,
.feccu select,
.feccu button {
	max-width: 100%;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	padding: 0 clamp(16px, 4vw, 38px);
	background: rgba(253,251,247,.92);
	border-bottom: 1px solid var(--line);
	backdrop-filter: blur(14px);
}

.nav-wrap {
	width: min(100%, 1280px);
	max-width: 100%;
	min-height: 80px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-weight: 800;
	color: var(--ink);
	min-width: 0;
}

.brand.center { justify-content: center; }

.login-card .brand {
	justify-content: center;
	text-align: left;
}

.sidebar .brand-copy strong {
	color: white;
	background: none;
	-webkit-background-clip: initial;
	background-clip: initial;
}

.sidebar .brand-copy small {
	color: rgba(255,255,255,.62);
}

.site-header .nav-wrap > nav:not(.desktop-nav) {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-left: auto;
	font-size: 13px;
	font-weight: 800;
}

.site-header .nav-wrap > nav:not(.desktop-nav) a:not(.nav-action) {
	padding: 10px 13px;
	border-radius: 10px;
	color: var(--ink);
}

.site-header .nav-wrap > nav:not(.desktop-nav) a:not(.nav-action):hover {
	background: var(--cream);
	color: var(--gold);
}

.brand-logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	border-radius: 16px;
	background: linear-gradient(135deg, var(--brand), var(--brand-2));
	border: 1px solid rgba(180,132,45,.25);
	box-shadow: 0 10px 24px rgba(15,30,54,.14);
	overflow: hidden;
}

.brand-logo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.brand-copy {
	display: grid;
	line-height: 1.05;
	min-width: 0;
}

.brand-copy strong {
	font-size: 25px;
	font-weight: 900;
	letter-spacing: 0;
	background: linear-gradient(90deg, var(--brand), var(--brand-2), var(--gold));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.brand-copy small {
	margin-top: 4px;
	color: rgba(15,30,54,.68);
	font-size: 9px;
	font-weight: 800;
	letter-spacing: 1px;
	text-transform: uppercase;
	white-space: nowrap;
}

.brand.compact .brand-logo {
	width: 44px;
	height: 44px;
	border-radius: 12px;
}

.brand.compact .brand-copy strong {
	font-size: 19px;
}

.desktop-nav {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 12px;
	color: var(--ink);
	white-space: nowrap;
}

.desktop-nav a {
	padding: 10px 13px;
	border-radius: 10px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .4px;
}

.desktop-nav a:hover {
	background: var(--cream);
	color: var(--gold);
}

.desktop-nav a.is-active {
	background: var(--cream);
	color: var(--gold);
	box-shadow: inset 0 0 0 1px var(--line);
}

.nav-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 0 0 auto;
}

.mobile-menu-toggle {
	display: none;
	align-items: center;
	gap: 8px;
	min-height: 42px;
	padding: 0 13px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: white;
	color: var(--ink);
	font: inherit;
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
	cursor: pointer;
	box-shadow: 0 8px 18px rgba(15,30,54,.06);
}

.menu-lines {
	display: grid;
	gap: 4px;
	width: 18px;
}

.menu-lines i {
	display: block;
	width: 18px;
	height: 2px;
	border-radius: 999px;
	background: currentColor;
}

.mobile-menu-toggle b {
	font-size: 11px;
}

.mobile-menu-toggle[aria-expanded="true"] {
	background: var(--brand);
	color: white;
	border-color: var(--brand);
}

.mobile-menu-toggle[aria-expanded="true"] .menu-lines i:nth-child(1) {
	transform: translateY(6px) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] .menu-lines i:nth-child(2) {
	opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .menu-lines i:nth-child(3) {
	transform: translateY(-6px) rotate(-45deg);
}

.menu-lines i {
	transition: transform .18s ease, opacity .18s ease;
}

.mobile-nav {
	width: min(100%, 1280px);
	max-width: 100%;
	margin: 0 auto;
	padding: 10px 0 18px;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	border-top: 1px solid rgba(238,233,221,.85);
}

.mobile-nav[hidden] {
	display: none;
}

.mobile-nav a {
	min-height: 48px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 14px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: white;
	color: var(--ink);
	font-size: 13px;
	font-weight: 900;
	box-shadow: 0 8px 20px rgba(15,30,54,.045);
	overflow-wrap: anywhere;
}

.mobile-nav a:after {
	content: "›";
	color: var(--gold);
	font-size: 20px;
	line-height: 1;
}

.mobile-nav a.is-active {
	color: var(--gold);
	background: var(--cream);
}

.mobile-nav-actions {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	padding-top: 8px;
	border-top: 1px solid var(--line-soft);
}

.mobile-nav-actions a:after {
	display: none;
}

.nav-action, .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 18px;
	border-radius: 8px;
	border: 1px solid var(--line);
	font-weight: 750;
	cursor: pointer;
	transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
	max-width: 100%;
	text-align: center;
	white-space: normal;
}

.button:hover { transform: translateY(-1px); }

.button.primary, .nav-action {
	background: var(--brand);
	color: white;
	border-color: var(--brand);
}

.button.secondary {
	background: white;
	color: var(--ink);
}

.button.gold {
	background: linear-gradient(135deg, var(--gold), #986a1f);
	color: white;
	border-color: var(--gold);
	box-shadow: 0 12px 28px rgba(180,132,45,.18);
}

.button.director {
	background: var(--cream);
	color: var(--ink);
	border-color: var(--cream-2);
}

.button.small {
	min-height: 40px;
	padding: 0 16px;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .4px;
}

.hero {
	position: relative;
	min-height: 760px;
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
	align-items: center;
	gap: clamp(34px, 5vw, 76px);
	width: min(100%, 1280px);
	max-width: 100%;
	margin: 0 auto;
	padding: clamp(76px, 10vw, 140px) clamp(18px, 4vw, 38px) clamp(56px, 8vw, 100px);
	color: var(--ink);
}

.hero:before,
.hero:after {
	content: "";
	position: absolute;
	z-index: -1;
	border-radius: 999px;
	filter: blur(48px);
	pointer-events: none;
}

.hero:before {
	width: 360px;
	height: 360px;
	top: 100px;
	left: 20%;
	background: rgba(223,196,140,.28);
}

.hero:after {
	width: 310px;
	height: 310px;
	right: 4%;
	bottom: 80px;
	background: rgba(30,58,138,.08);
}

.hero h1 {
	font-size: clamp(44px, 6vw, 74px);
	line-height: 1.03;
	max-width: 980px;
	margin: 0 0 24px;
	letter-spacing: 0;
	font-weight: 900;
}

.hero h1 span {
	color: var(--gold);
	font-family: Georgia, "Times New Roman", serif;
	font-style: italic;
	font-weight: 500;
}

.hero p {
	max-width: 760px;
	font-size: 18px;
	line-height: 1.7;
	color: rgba(15,30,54,.78);
}

.hero-badge {
	display: inline-flex;
	align-items: center;
	width: auto;
	padding: 8px 14px;
	border: 1px solid var(--cream-2);
	border-radius: 999px;
	background: var(--cream);
	box-shadow: 0 8px 18px rgba(15,30,54,.04);
	color: var(--ink) !important;
	font-size: 12px !important;
	font-weight: 850;
	text-transform: uppercase;
	letter-spacing: .45px;
}

.eyebrow {
	margin: 0 0 12px;
	text-transform: uppercase;
	font-size: 12px;
	font-weight: 850;
	letter-spacing: 0;
	color: var(--gold);
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

.validation-note {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	max-width: 540px;
	margin-top: 30px;
	padding-top: 22px;
	border-top: 1px solid var(--line);
}

.validation-note span {
	flex: 0 0 auto;
	width: 10px;
	height: 10px;
	margin-top: 9px;
	border-radius: 999px;
	background: #10b981;
	box-shadow: 0 0 0 6px rgba(16,185,129,.12);
}

.validation-note p {
	margin: 0;
	font-size: 13px;
	line-height: 1.6;
	color: rgba(15,30,54,.68);
}

.hero-panel {
	position: relative;
	background: white;
	border: 1px solid var(--line);
	border-radius: 24px;
	padding: clamp(22px, 3vw, 30px);
	box-shadow: var(--shadow);
}

.official-pill {
	position: absolute;
	top: -14px;
	right: 18px;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--gold);
	color: white;
	font-size: 10px;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 1px;
	box-shadow: 0 10px 20px rgba(180,132,45,.2);
}

.hero-panel h3 {
	margin: 0 0 20px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--line-soft);
	font-size: 16px;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: .6px;
}

.status-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
	margin-top: 24px;
}

.status-grid div {
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: 18px;
	padding: 16px;
	text-align: center;
}

.status-grid b {
	display: block;
	font-size: 34px;
	color: var(--ink);
}
.status-grid small {
	color: rgba(15,30,54,.58);
	font-size: 10px;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.status-grid em {
	display: inline-flex;
	margin-top: 3px;
	color: var(--ok);
	font-size: 11px;
	font-style: normal;
	font-weight: 800;
}

.quick-search {
	margin-top: 20px;
	padding: 16px;
	border: 1px solid var(--line);
	border-radius: 18px;
	background: rgba(247,244,238,.62);
}

.quick-search label {
	margin-bottom: 9px;
	font-size: 10px;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: .8px;
	color: rgba(15,30,54,.66);
}

.quick-search p {
	margin: 8px 0 0;
	text-align: center;
	font-size: 10px;
	font-style: italic;
	color: rgba(15,30,54,.52);
}

.section {
	padding: clamp(42px, 6vw, 82px) clamp(18px, 5vw, 72px);
}

.section > * {
	width: min(100%, 1280px);
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
}

.section-intro {
	max-width: 780px;
	margin: 0 auto 54px;
	text-align: center;
}

.section-intro.compact {
	margin-bottom: 30px;
}

.section-intro span {
	display: inline-flex;
	margin-bottom: 12px;
	padding: 6px 14px;
	border-radius: 999px;
	border: 1px solid var(--line);
	background: var(--cream);
	color: var(--gold);
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.section h2 {
	font-size: clamp(28px, 4vw, 46px);
	margin: 0 0 18px;
	letter-spacing: 0;
	color: var(--ink);
	font-weight: 900;
}

.section h1 {
	margin: 0 0 18px;
	font-size: clamp(38px, 5vw, 62px);
	line-height: 1.05;
	font-weight: 900;
	letter-spacing: 0;
	color: var(--ink);
}

.page-hero {
	min-height: 66vh;
	padding-top: clamp(70px, 9vw, 112px);
	padding-bottom: clamp(70px, 9vw, 112px);
}

.home-directory {
	background: rgba(255,255,255,.72);
	border-top: 1px solid var(--line);
}

.section p {
	color: var(--muted);
	line-height: 1.75;
	font-size: 16px;
}

.identity-section,
.values,
.publications-section {
	background: rgba(247,244,238,.62);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.identity-grid {
	display: grid;
	grid-template-columns: minmax(300px, .9fr) minmax(0, 1.1fr);
	gap: clamp(24px, 5vw, 58px);
	align-items: center;
}

.operation-card {
	position: relative;
	padding: 30px;
	border: 1px solid var(--line);
	border-radius: 24px;
	background: white;
	box-shadow: 0 12px 34px rgba(15,30,54,.07);
	text-align: center;
}

.operation-card img {
	width: 150px;
	height: 150px;
	object-fit: contain;
	margin: 0 auto 18px;
	border-radius: 22px;
}

.operation-card h3 {
	margin: 0 0 5px;
	font-size: 20px;
}

.operation-card > p {
	margin: 0 0 20px;
	font-size: 13px;
	color: rgba(15,30,54,.58);
}

.operation-card div {
	text-align: left;
	color: rgba(15,30,54,.74);
	font-size: 14px;
	line-height: 1.8;
}

.founder-section {
	background: var(--bg);
}

.founder-card {
	width: min(100%, 980px);
	margin: 0 auto;
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	gap: clamp(22px, 4vw, 42px);
	align-items: center;
	padding: clamp(22px, 4vw, 36px);
	border: 1px solid var(--line);
	border-radius: 24px;
	background: white;
	box-shadow: var(--shadow);
}

.founder-card-no-photo {
	width: min(100%, 860px);
	grid-template-columns: minmax(0, 1fr);
	padding: clamp(28px, 5vw, 48px);
	border-top: 4px solid var(--gold);
}

.founder-card-no-photo .founder-copy {
	text-align: center;
}

.founder-card-no-photo .founder-copy h2 {
	max-width: 760px;
	margin-inline: auto;
}

.founder-card-no-photo .founder-subtitle {
	max-width: 680px;
	margin-inline: auto;
}

.founder-card-no-photo dl {
	max-width: 700px;
	margin: 24px auto;
	text-align: left;
}

.founder-card-no-photo .founder-details > p {
	max-width: 700px;
	margin: 22px auto 0;
	font-size: 16px;
	line-height: 1.75;
}

.founder-card-no-photo .founder-contact {
	justify-content: center;
}

@media (min-width: 1181px) {
	.founder-card-no-photo.founder-card-full {
		width: min(100%, 1120px);
		padding: clamp(36px, 4vw, 56px);
	}

	.founder-card-full .founder-copy {
		display: grid;
		grid-template-columns: minmax(280px, .82fr) minmax(460px, 1.18fr);
		gap: clamp(38px, 5vw, 68px);
		align-items: center;
		text-align: left;
	}

	.founder-card-full .founder-identity {
		padding-right: clamp(34px, 4vw, 56px);
		border-right: 1px solid var(--line);
	}

	.founder-card-full .founder-copy h2,
	.founder-card-full .founder-subtitle {
		margin-inline: 0;
	}

	.founder-card-full .founder-details dl {
		max-width: none;
		margin: 0 0 22px;
	}

	.founder-card-full .founder-details > p {
		max-width: none;
		margin: 0;
	}

	.founder-card-full .founder-contact {
		justify-content: flex-start;
	}
}

.founder-seal {
	display: grid;
	place-items: center;
	padding: 18px;
	border-radius: 22px;
	background: var(--cream);
	border: 1px solid var(--line);
}

.founder-seal img {
	width: 190px;
	height: 190px;
	object-fit: cover;
	object-position: center;
	border-radius: 18px;
}

.founder-copy .eyebrow {
	margin-bottom: 8px;
	font-size: 16px;
	line-height: 1.25;
}

.founder-copy h2 {
	margin: 0;
	font-size: clamp(28px, 4vw, 44px);
	line-height: 1.05;
	color: var(--ink);
}

.founder-alias {
	margin: 8px 0 16px;
	color: var(--ink) !important;
	font-size: 19px !important;
	font-weight: 800;
	line-height: 1.3;
}

.founder-subtitle {
	margin: 0 0 18px;
	font-weight: 800;
	color: var(--gold) !important;
	text-transform: uppercase;
	font-size: 13px !important;
	letter-spacing: .5px;
}

.founder-card dl {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin: 18px 0;
}

.founder-card dl div {
	padding: 12px 14px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: var(--bg);
}

.founder-card dt {
	color: rgba(15,30,54,.55);
	font-size: 10px;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: .8px;
}

.founder-card dd {
	margin: 3px 0 0;
	color: var(--ink);
	font-weight: 900;
}

.founder-contact {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 18px;
}

.founder-contact a {
	display: inline-flex;
	align-items: center;
	min-height: 38px;
	padding: 0 12px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--cream);
	color: var(--ink);
	font-size: 13px;
	font-weight: 850;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.mission-stack {
	display: grid;
	gap: 18px;
}

.mission-stack article, .value-grid article, .base-card, .panel, .metric, .login-card, .profile-card {
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: 8px;
}

.mission-stack article {
	position: relative;
	padding: 26px;
	border-radius: 20px;
	box-shadow: 0 10px 28px rgba(15,30,54,.05);
}
.mission-stack h3 { margin: 0 0 10px; font-size: 22px; }

.value-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.value-grid article {
	padding: 24px;
	line-height: 1.55;
	color: var(--ink);
	border-radius: 20px;
	box-shadow: 0 8px 22px rgba(15,30,54,.04);
}

.verify-band {
	display: block;
	background: var(--bg);
	color: var(--ink);
}

.verify-band p { color: rgba(15,30,54,.7); }

.verify-search {
	max-width: 820px;
	margin: 0 auto;
	background: white;
	color: var(--ink);
	border: 1px solid var(--line);
	border-radius: 22px;
	padding: 24px;
	box-shadow: var(--shadow);
}

.verify-search label, .feccu label {
	display: grid;
	gap: 8px;
	font-weight: 750;
	font-size: 14px;
	color: var(--ink);
}

.feccu input, .feccu textarea, .feccu select {
	width: 100%;
	min-height: 42px;
	border: 1px solid var(--line);
	border-radius: 8px;
	padding: 10px 12px;
	font: inherit;
	background: white;
	color: var(--ink);
}

.feccu textarea { resize: vertical; }

.search-results {
	display: grid;
	gap: 10px;
	margin-top: 14px;
}

.result-item {
	display: grid;
	grid-template-columns: 46px 1fr auto;
	gap: 12px;
	align-items: center;
	padding: 10px;
	border: 1px solid var(--line);
	border-radius: 8px;
}

.result-item img, .avatar {
	width: 44px;
	height: 44px;
	object-fit: cover;
	border-radius: 8px;
	background: #e6ebee;
}

.base-grid, .gallery-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.base-card {
	position: relative;
	padding: 24px;
	border-radius: 20px;
	box-shadow: 0 8px 22px rgba(15,30,54,.04);
}
.base-card h3 { margin: 0 0 8px; }
.base-card span { color: var(--brand); font-weight: 800; }
.base-card .button { margin-top: 12px; }

.gallery-grid figure {
	margin: 0;
	overflow: hidden;
	border-radius: 20px;
	border: 1px solid var(--line);
	background: white;
}

.gallery-grid img, .gallery-grid video {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	background: #dce3e4;
}

.gallery-grid figcaption {
	padding: 12px 14px;
	font-weight: 750;
}

.site-footer {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(240px, .8fr) minmax(220px, .6fr);
	gap: 34px;
	padding: 54px clamp(18px, 5vw, 72px) 36px;
	background: white;
	border-top: 1px solid var(--line);
	color: rgba(15,30,54,.72);
}

.site-footer > * {
	width: auto;
	margin: 0;
}

.site-footer p {
	max-width: 470px;
	font-size: 13px;
	line-height: 1.7;
}

.site-footer nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	font-size: 13px;
	font-weight: 700;
}

.site-footer nav a:hover,
.flag-box a:hover {
	color: var(--gold);
}

.flag-box {
	display: grid;
	gap: 12px;
	align-content: start;
	font-size: 12px;
}

.flag-box span {
	display: block;
	height: 42px;
	border-radius: 8px;
	border: 1px solid var(--line);
	background: linear-gradient(90deg, #2563eb 0 47%, white 47% 53%, #dc2626 53% 100%);
	box-shadow: inset 0 16px 0 rgba(255,255,255,.2);
}

.flag-box a {
	color: var(--gold);
	font-weight: 900;
	text-transform: uppercase;
	font-size: 11px;
}

.login-shell, .profile-shell {
	min-height: 100vh;
	display: grid;
	place-items: center;
	padding: 24px;
	background:
		linear-gradient(rgba(245,247,248,.88), rgba(245,247,248,.88)),
		linear-gradient(135deg, var(--brand), var(--brand-2));
}

.login-card {
	width: min(440px, 100%);
	display: grid;
	gap: 16px;
	padding: 28px;
	box-shadow: var(--shadow);
}

.login-card h1 { margin: 8px 0 0; text-align: center; }
.login-card p { margin: 0; text-align: center; color: var(--muted); line-height: 1.6; }
.back-link { text-align: center; color: var(--muted); font-size: 14px; }

.notice {
	border: 1px solid #b6d6c8;
	background: #effaf5;
	color: #145236;
	border-radius: 8px;
	padding: 12px 14px;
	line-height: 1.45;
}

.notice.error {
	border-color: #e0bbbb;
	background: #fff2f2;
	color: var(--bad);
}

.feccu-dashboard {
	background: #f7f4ee;
	background-image: radial-gradient(rgba(180, 132, 45, 0.04) 1px, transparent 1px);
	background-size: 22px 22px;
}

.app-shell {
	display: grid;
	grid-template-columns: 292px minmax(0, 1fr);
	min-height: 100vh;
}

.sidebar {
	position: sticky;
	top: 0;
	height: 100vh;
	display: flex;
	flex-direction: column;
	gap: 24px;
	padding: 24px 18px;
	background: linear-gradient(180deg, #0f1e36, #111827);
	color: white;
	border-right: 1px solid rgba(255,255,255,.08);
}

.sidebar .brand { color: white; }
.sidebar nav {
	display: grid;
	gap: 7px;
	padding-top: 10px;
	border-top: 1px solid rgba(255,255,255,.1);
}
.sidebar nav a, .logout {
	display: flex;
	align-items: center;
	min-height: 42px;
	padding: 10px 12px;
	border-radius: 8px;
	color: rgba(255,255,255,.78);
	font-size: 14px;
	font-weight: 750;
}

.sidebar nav a:hover, .logout:hover {
	background: rgba(255,255,255,.09);
	color: white;
}
.logout { margin-top: auto; }

.workspace {
	width: min(100%, 1520px);
	padding: 30px clamp(18px, 3vw, 42px) 52px;
	display: grid;
	gap: 24px;
	align-content: start;
}

.workspace-header {
	display: flex;
	justify-content: space-between;
	gap: 18px;
	align-items: center;
	padding: 8px 0 2px;
}

.workspace-header h1 { margin: 0; font-size: clamp(28px, 4vw, 44px); }

.workspace-header .eyebrow {
	color: var(--gold);
}

.live-pill {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 0 12px;
	border-radius: 8px;
	background: #eaf7f1;
	color: var(--ok);
	font-weight: 800;
}

.dash-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	padding: 0;
}

.metric {
	padding: 22px;
	box-shadow: 0 8px 24px rgba(23,32,38,.06);
}
.metric b { display: block; font-size: 42px; color: var(--brand); }
.metric span { color: var(--muted); font-weight: 750; }

.panel {
	padding: clamp(18px, 2.2vw, 28px);
	box-shadow: 0 12px 32px rgba(23,32,38,.07);
	overflow: hidden;
	background: rgba(255,255,255,.98);
}

.panel-head {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	align-items: flex-start;
	margin: -4px 0 22px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--line-soft);
}

.panel h2 {
	margin: 0;
	font-size: 24px;
	font-weight: 850;
	letter-spacing: 0;
}
.panel-head span {
	max-width: 520px;
	color: var(--muted);
	font-size: 14px;
	line-height: 1.5;
	text-align: right;
}

.form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	align-items: end;
}

.span-2 { grid-column: span 2; }
.form-grid .button {
	justify-self: start;
	min-width: 190px;
}

.table-wrap {
	overflow-x: auto;
	margin-top: 24px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: white;
}

table {
	width: 100%;
	border-collapse: collapse;
	background: white;
	font-size: 14px;
}

th, td {
	padding: 13px 14px;
	border-bottom: 1px solid var(--line);
	text-align: left;
	vertical-align: middle;
}

th {
	background: #f8fafb;
	color: var(--muted);
	font-size: 12px;
	text-transform: uppercase;
	white-space: nowrap;
}

.status {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 0 9px;
	border-radius: 8px;
	background: #edf1f3;
	font-weight: 850;
	font-size: 12px;
}

.status.active { background: #e5f7ef; color: var(--ok); }
.status.inactive { background: #f5eee5; color: var(--warn); }
.status.suspended { background: #faeaea; color: var(--bad); }

.content-editor {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin-bottom: 18px;
}

fieldset {
	display: grid;
	gap: 12px;
	border: 1px solid var(--line);
	border-radius: 8px;
	padding: 16px;
	margin: 0;
	background: #fbfcfc;
}

.chat-box { display: grid; gap: 14px; }
.chat-messages {
	height: 320px;
	overflow: auto;
	display: grid;
	align-content: end;
	gap: 10px;
	padding: 12px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: #f9fbfb;
}

.chat-messages article {
	background: white;
	border: 1px solid var(--line);
	border-radius: 8px;
	padding: 10px 12px;
}

.chat-messages p { margin: 4px 0; color: var(--ink); }
.chat-messages time { color: var(--muted); font-size: 12px; }
.chat-box form { display: grid; grid-template-columns: 1fr auto; gap: 10px; }

.feccu-dashboard .notice {
	box-shadow: 0 8px 22px rgba(20,82,54,.08);
}

.feccu-dashboard input:focus,
.feccu-dashboard textarea:focus,
.feccu-dashboard select:focus,
.feccu-public input:focus {
	outline: 3px solid rgba(21,94,99,.16);
	border-color: var(--brand);
}

.profile-card {
	width: min(1060px, 100%);
	display: grid;
	grid-template-columns: 210px minmax(0, 1fr) 230px;
	gap: 26px;
	align-items: start;
	padding: 28px;
	box-shadow: var(--shadow);
}

.profile-photo img, .profile-photo span {
	width: 210px;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 8px;
	background: #dce3e4;
	display: grid;
	place-items: center;
	font-size: 82px;
	font-weight: 900;
	color: var(--brand);
}

.profile-card h1 { margin: 0 0 4px; font-size: clamp(30px, 5vw, 56px); }
.rank { color: var(--muted); font-size: 18px; }
.profile-card dl {
	display: grid;
	grid-template-columns: 150px 1fr;
	gap: 8px 16px;
	margin: 22px 0;
}

.profile-card dt { color: var(--muted); font-weight: 750; }
.profile-card dd { margin: 0; font-weight: 750; }

.qr-box {
	display: grid;
	gap: 10px;
	justify-items: center;
	padding: 14px;
	border: 1px solid var(--line);
	border-radius: 8px;
}

.qr-box span { text-align: center; color: var(--muted); font-size: 13px; }
.muted { color: var(--muted); }

.article-page {
	max-width: 920px;
	margin: 0 auto;
	background: white;
	min-height: 70vh;
}

.article-page h1 {
	font-size: clamp(34px, 6vw, 64px);
	line-height: 1.02;
	margin: 0 0 22px;
}

.article-media {
	width: 100%;
	aspect-ratio: 16 / 7;
	object-fit: cover;
	border-radius: 8px;
	margin-bottom: 28px;
	background: #dce3e4;
}

.article-body {
	color: var(--ink);
	font-size: 18px;
	line-height: 1.8;
}

.article-body p { color: var(--ink); }

@media (max-width: 1120px) {
	.desktop-nav {
		display: none;
	}
	.mobile-menu-toggle {
		display: inline-flex;
	}
	.nav-actions > .button {
		display: none;
	}
	.site-header {
		box-shadow: 0 10px 28px rgba(15,30,54,.06);
	}
	.mobile-nav {
		padding-left: 12px;
		padding-right: 12px;
	}
}

@media (max-width: 980px) {
	.hero, .identity-grid, .app-shell, .profile-card, .site-footer {
		grid-template-columns: 1fr;
	}
	.founder-card {
		grid-template-columns: 1fr;
		text-align: center;
	}
	.founder-card dl {
		text-align: left;
	}
	.hero { min-height: auto; }
	.hero-panel { max-width: 520px; }
	.value-grid, .base-grid, .gallery-grid, .form-grid, .content-editor, .dash-grid {
		grid-template-columns: 1fr 1fr;
	}
	.sidebar {
		position: static;
		height: auto;
	}
	.sidebar nav {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.profile-photo img, .profile-photo span { width: 160px; }
	.nav-wrap { min-height: 74px; }
}

@media (max-width: 680px) {
	body.feccu {
		overflow-x: clip;
	}
	.site-header {
		padding-left: max(12px, env(safe-area-inset-left));
		padding-right: max(12px, env(safe-area-inset-right));
	}
	.workspace-header, .panel-head {
		flex-direction: column;
		align-items: flex-start;
	}
	.nav-wrap {
		width: 100%;
		align-items: center;
		min-height: 68px;
		padding: 10px 0;
		gap: 10px;
	}
	.brand {
		flex: 1 1 auto;
		max-width: calc(100% - 56px);
		overflow: hidden;
	}
	.brand-copy {
		overflow: hidden;
	}
	.brand-copy strong {
		display: block;
		max-width: 100%;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}
	.nav-actions {
		margin-left: auto;
		gap: 8px;
		flex: 0 0 auto;
	}
	.mobile-menu-toggle {
		width: 44px;
		height: 44px;
		padding: 0;
		justify-content: center;
	}
	.mobile-menu-toggle b {
		display: none;
	}
	.brand-copy small {
		display: none;
	}
	.brand-logo {
		width: 44px;
		height: 44px;
		border-radius: 14px;
	}
	.brand-copy strong {
		font-size: 21px;
	}
	.mobile-nav {
		width: 100%;
		grid-template-columns: 1fr;
		padding: 10px 0 16px;
		gap: 9px;
	}
	.mobile-nav a {
		width: 100%;
	}
	.mobile-nav-actions {
		grid-template-columns: 1fr;
	}
	.hero {
		width: 100%;
		max-width: 100%;
		overflow: hidden;
		padding: 34px 16px 46px;
		gap: 26px;
		text-align: center;
	}
	.hero:before,
	.hero:after {
		display: none;
	}
	.hero h1 {
		font-size: 36px;
		line-height: 1.08;
		margin-bottom: 16px;
	}
	.hero p {
		font-size: 15px;
		line-height: 1.7;
	}
	.hero-badge {
		justify-content: center;
		font-size: 10px !important;
		line-height: 1.35;
		padding: 7px 12px;
	}
	.hero-actions {
		display: grid;
		grid-template-columns: 1fr;
		gap: 10px;
	}
	.hero-actions .button {
		width: 100%;
		min-height: 48px;
	}
	.validation-note {
		text-align: left;
		margin-top: 22px;
		padding-top: 18px;
	}
	.hero-panel {
		width: 100%;
		max-width: none;
		padding: 20px;
		border-radius: 22px;
	}
	.status-grid {
		grid-template-columns: 1fr 1fr;
		margin-top: 14px;
	}
	.status-grid div {
		padding: 14px 10px;
	}
	.quick-search {
		text-align: left;
		padding: 14px;
	}
	.section {
		width: 100%;
		max-width: 100%;
		overflow: hidden;
		padding: 54px 16px;
	}
	.section > * {
		width: 100%;
		max-width: 100%;
	}
	.section-intro {
		margin-bottom: 32px;
	}
	.section h1,
	.section h2 {
		font-size: 31px;
		line-height: 1.12;
	}
	.section p {
		font-size: 14px;
	}
	.base-card,
	.value-grid article,
	.mission-stack article,
	.operation-card,
	.founder-card,
	.panel {
		border-radius: 18px;
	}
	.founder-card {
		padding: 20px;
	}
	.founder-card dl {
		grid-template-columns: 1fr;
	}
	.founder-contact {
		display: grid;
		grid-template-columns: 1fr;
	}
	.founder-contact a {
		justify-content: center;
	}
	.base-card {
		padding: 20px;
	}
	.value-grid, .base-grid, .gallery-grid, .form-grid, .content-editor, .dash-grid {
		grid-template-columns: 1fr;
	}
	.span-2 { grid-column: auto; }
	.workspace { padding: 16px; }
	.workspace,
	.app-shell,
	.panel,
	.table-wrap,
	.chat-box,
	.login-card,
	.profile-card,
	.article-page {
		width: 100%;
		max-width: 100%;
	}
	.sidebar nav { grid-template-columns: 1fr 1fr; }
	.panel-head {
		display: grid;
	}
	.panel-head span {
		text-align: left;
	}
	.chat-box form { grid-template-columns: 1fr; }
	.profile-card { padding: 18px; }
	.profile-card dl { grid-template-columns: 1fr; }
	.result-item { grid-template-columns: 42px 1fr; }
	.result-item a { grid-column: 1 / -1; }
	.table-wrap {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
	.site-footer {
		padding: 40px 16px 28px;
		gap: 26px;
	}
	.site-footer nav {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 380px) {
	.brand-copy strong {
		font-size: 18px;
	}
	.brand-logo {
		width: 40px;
		height: 40px;
	}
	.mobile-menu-toggle {
		width: 40px;
		height: 40px;
	}
	.status-grid {
		grid-template-columns: 1fr;
	}
	.result-item {
		grid-template-columns: 1fr;
	}
	.result-item img,
	.result-item .avatar {
		margin: 0 auto;
	}
}
