@charset "UTF-8";
/*
Theme Name: Amani Kessy — Kali
Theme URI: https://amanikessy.co.tz
Author: Amani Kessy
Author URI: https://amanikessy.co.tz
Description: Kali — portfolio ya kisasa yenye nguvu: giza la msitu, dhahabu na coral. Kadi za miradi zinazobanana, hero ya scramble-decode, marquee mbili, accordion ya huduma, slider ya ushuhuda, CPT za Miradi & Ushuhuda, Customizer kamili, block patterns na heshima ya prefers-reduced-motion.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: amani-kali
Tags: portfolio, dark, custom-colors, custom-menu, featured-images, translation-ready, block-patterns
*/

/* ============================================================
   1. TOKENS
============================================================ */
:root {
	--ak-ink: #0f1411;
	--ak-pine: #151c17;
	--ak-fern: #223026;
	--ak-moss: #2e4033;
	--ak-paper: #f3edde;
	--ak-cream: #e4d9bd;
	--ak-gold: #e3a82b;
	--ak-flame: #e4572e;
	--ak-sage: #9db4a0;
	--ak-f-display: "Syne", system-ui, sans-serif;
	--ak-f-body: "Instrument Sans", system-ui, sans-serif;
	--ak-f-mono: "Space Mono", ui-monospace, monospace;
}

/* ============================================================
   2. MSINGI
============================================================ */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--ak-ink);
	color: var(--ak-paper);
	font-family: var(--ak-f-body);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--ak-gold); color: var(--ak-ink); }
:focus-visible { outline: 2px solid var(--ak-gold); outline-offset: 3px; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ak-ink); }
::-webkit-scrollbar-thumb { background: var(--ak-fern); }
::-webkit-scrollbar-thumb:hover { background: var(--ak-gold); }

.skip-link {
	position: absolute;
	left: 12px;
	top: -60px;
	z-index: 999;
	background: var(--ak-gold);
	color: var(--ak-ink);
	padding: 10px 18px;
	font-family: var(--ak-f-mono);
	font-size: 12px;
	transition: top 0.3s;
}
.skip-link:focus { top: 12px; }

.ak-container {
	width: min(1200px, 100% - 40px);
	margin-inline: auto;
}

.ak-noise {
	position: fixed;
	inset: -50%;
	width: 200%;
	height: 200%;
	pointer-events: none;
	z-index: 90;
	opacity: 0.05;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	animation: ak-grain 9s steps(6) infinite;
}
@keyframes ak-grain {
	0% { transform: translate(0, 0); }
	20% { transform: translate(-3%, 2%); }
	40% { transform: translate(2%, -3%); }
	60% { transform: translate(-2%, -2%); }
	80% { transform: translate(3%, 3%); }
	100% { transform: translate(0, 0); }
}

/* ============================================================
   3. KITUFE & VIUNGO
============================================================ */
.ak-btn {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-family: var(--ak-f-display);
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	padding: 16px 32px;
	position: relative;
	isolation: isolate;
	overflow: hidden;
	transition: color 0.3s;
}
.ak-btn--solid { background: var(--ak-gold); color: var(--ak-ink); }
.ak-btn--solid::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--ak-flame);
	transform: translateY(102%);
	transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
	z-index: -1;
}
.ak-btn--solid:hover { color: var(--ak-paper); }
.ak-btn--solid:hover::before { transform: translateY(0); }
.ak-btn--ghost {
	border: 1px solid rgba(243, 237, 222, 0.25);
	transition: border-color 0.3s, color 0.3s;
}
.ak-btn--ghost:hover { border-color: var(--ak-gold); color: var(--ak-gold); }

.lnk {
	background-image: linear-gradient(currentColor, currentColor);
	background-size: 0% 1px;
	background-repeat: no-repeat;
	background-position: left calc(100% - 0.05em);
	transition: background-size 0.35s ease;
	padding-bottom: 3px;
}
.lnk:hover { background-size: 100% 1px; }

/* ============================================================
   4. MICHORO YA MSINGI (gridlines, mask, marquee…)
============================================================ */
.ak-gridlines {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background-image:
		linear-gradient(to right, rgba(243, 237, 222, 0.05) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(243, 237, 222, 0.05) 1px, transparent 1px);
	background-size: 72px 72px;
	-webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, #000 30%, transparent 75%);
	mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, #000 30%, transparent 75%);
}

.ak-mask {
	display: block;
	overflow: hidden;
	padding-bottom: 0.14em;
	margin-bottom: -0.14em;
}
.ak-mask > span {
	display: block;
	transform: translateY(115%);
	transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.in .ak-mask > span,
.ak-mask.in > span { transform: translateY(0); }

.ak-rv {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.ak-rv.in { opacity: 1; transform: none; }

@keyframes ak-marquee { to { transform: translateX(-50%); } }
.ak-marquee { overflow: hidden; border-block: 1px solid rgba(243, 237, 222, 0.1); padding: 20px 0; }
.ak-marquee--kubwa { padding: 34px 0; }
.ak-marquee__track { display: flex; width: max-content; animation: ak-marquee 28s linear infinite; }
.ak-marquee--reverse .ak-marquee__track { animation-direction: reverse; }
.ak-marquee--kubwa .ak-marquee__track { animation-duration: 24s; }
.ak-marquee__set { display: flex; align-items: center; flex-shrink: 0; }
.ak-marquee__item {
	font-family: var(--ak-f-display);
	font-weight: 800;
	letter-spacing: -0.01em;
	white-space: nowrap;
	padding: 0 28px;
	font-size: 26px;
}
.ak-marquee--kubwa .ak-marquee__item {
	font-size: clamp(40px, 6vw, 72px);
	color: transparent;
	-webkit-text-stroke: 1.5px rgba(243, 237, 222, 0.22);
	transition: color 0.3s;
}
.ak-marquee--kubwa .ak-marquee__item:hover { color: var(--ak-gold); -webkit-text-stroke-color: var(--ak-gold); }
.ak-star { width: 18px; height: 18px; flex-shrink: 0; }
.ak-star--dhahabu { color: var(--ak-gold); }
.ak-star--korali { color: var(--ak-flame); }

@keyframes ak-kb {
	from { transform: scale(1.02); }
	to { transform: scale(1.14) translate(-2.2%, 2%); }
}
.kenburns { animation: ak-kb 16s ease-in-out infinite alternate; will-change: transform; }

@keyframes ak-spin { to { transform: rotate(360deg); } }
@keyframes ak-floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes ak-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
@keyframes ak-drop {
	0% { transform: scaleY(0); transform-origin: top; }
	45% { transform: scaleY(1); transform-origin: top; }
	55% { transform: scaleY(1); transform-origin: bottom; }
	100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================================
   5. KICHWA CHA TOVUTI (nav)
============================================================ */
.ak-site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	padding: 20px 0;
	transition: background 0.5s, padding 0.5s, border-color 0.5s;
	border-bottom: 1px solid transparent;
}
.ak-site-header.is-scrolled {
	background: rgba(15, 20, 17, 0.85);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	padding: 12px 0;
	border-bottom-color: rgba(243, 237, 222, 0.1);
}
.ak-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.ak-logo { display: flex; align-items: center; gap: 10px; font-family: var(--ak-f-display); font-weight: 800; font-size: 20px; }
.ak-logo__chapa {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	background: var(--ak-gold);
	color: var(--ak-ink);
	font-size: 14px;
	transition: transform 0.3s;
}
.ak-logo:hover .ak-logo__chapa { transform: rotate(8deg); }
.ak-logo .korali { color: var(--ak-flame); font-size: 10px; vertical-align: super; }

.ak-nav ul { display: flex; align-items: center; gap: 32px; }
.ak-nav a {
	font-family: var(--ak-f-mono);
	font-size: 12px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: rgba(243, 237, 222, 0.8);
}
.ak-nav a:hover { color: var(--ak-paper); }

.ak-header__meta { display: flex; align-items: center; gap: 16px; }
.ak-header__saa {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: var(--ak-f-mono);
	font-size: 11px;
	letter-spacing: 0.18em;
	color: var(--ak-sage);
}
.ak-header__saa b { color: rgba(243, 237, 222, 0.7); font-weight: 400; }
.ak-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ak-gold); animation: ak-blink 1.8s ease-in-out infinite; }
.ak-header__cta {
	font-family: var(--ak-f-mono);
	font-size: 12px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--ak-gold);
	border: 1px solid rgba(227, 168, 43, 0.7);
	padding: 10px 20px;
	position: relative;
	isolation: isolate;
	overflow: hidden;
	transition: color 0.3s;
}
.ak-header__cta::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--ak-flame);
	transform: translateY(102%);
	transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
	z-index: -1;
}
.ak-header__cta:hover { color: var(--ak-paper); }
.ak-header__cta:hover::before { transform: translateY(0); }

.ak-burger {
	position: relative;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(243, 237, 222, 0.25);
	display: none;
}
.ak-burger span {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 20px;
	height: 2px;
	background: var(--ak-paper);
	transition: transform 0.3s;
}
.ak-burger span:first-child { transform: translate(-50%, -9px); }
.ak-burger span:last-child { transform: translate(-50%, 5px); }
.ak-burger[aria-expanded="true"] span:first-child { transform: translate(-50%, -1px) rotate(45deg); }
.ak-burger[aria-expanded="true"] span:last-child { transform: translate(-50%, -1px) rotate(-45deg); }

.ak-mobile-menu {
	position: fixed;
	inset: 0;
	z-index: 95;
	background: var(--ak-ink);
	padding: 110px 24px 40px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.5s, visibility 0.5s;
}
.ak-mobile-menu.is-open { opacity: 1; visibility: visible; }
.ak-mobile-menu nav a {
	display: flex;
	align-items: baseline;
	gap: 16px;
	padding: 8px 0;
	font-family: var(--ak-f-display);
	font-weight: 800;
	font-size: 40px;
}
.ak-mobile-menu nav a small { font-family: var(--ak-f-mono); font-size: 12px; color: var(--ak-gold); }
.ak-mobile-menu nav a:hover { color: var(--ak-gold); }
.ak-mobile-menu__chini {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 20px;
	border-top: 1px solid rgba(243, 237, 222, 0.1);
	padding-top: 24px;
	flex-wrap: wrap;
}
.ak-mobile-menu__chini small { display: block; font-family: var(--ak-f-mono); font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--ak-sage); margin-bottom: 8px; }
.ak-mobile-menu__chini a { font-weight: 500; }

/* ============================================================
   6. HERO
============================================================ */
.ak-hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; overflow: hidden; }
.ak-hero__inner {
	flex: 1;
	display: grid;
	grid-template-columns: 7fr 5fr;
	gap: 48px;
	align-items: center;
	padding-top: 140px;
	padding-bottom: 40px;
	position: relative;
}
.ak-kicker {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 24px;
	font-family: var(--ak-f-mono);
	font-size: 11px;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	margin: 0 0 32px;
}
.ak-kicker b { color: var(--ak-gold); font-weight: 400; }
.ak-kicker span { color: var(--ak-sage); }
.ak-hero__jina {
	margin: 0;
	font-family: var(--ak-f-display);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 0.86;
	font-size: clamp(64px, 9.5vw, 168px);
}
.ak-hero__jina .ak-flame { color: var(--ak-flame); font-size: 0.35em; vertical-align: top; }
.ak-hero__kazi { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 32px 0 0; }
.ak-hero__kazi .lbl {
	font-family: var(--ak-f-mono);
	font-size: 12px;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	color: rgba(243, 237, 222, 0.5);
}
.ak-hero__kazi strong {
	font-family: var(--ak-f-display);
	font-weight: 700;
	font-size: clamp(22px, 2.4vw, 30px);
	color: var(--ak-gold);
	min-height: 1.3em;
	display: inline-block;
}
.ak-hero__kazi .caret { color: var(--ak-flame); }
.ak-hero__maelezo { max-width: 560px; color: rgba(243, 237, 222, 0.7); font-size: 18px; line-height: 1.65; margin: 24px 0 0; }
.ak-hero__cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.ak-hero__trust {
	margin-top: 40px;
	font-family: var(--ak-f-mono);
	font-size: 11px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: rgba(243, 237, 222, 0.4);
}
.ak-hero__meta { border-top: 1px solid rgba(243, 237, 222, 0.1); position: relative; }
.ak-hero__meta .ak-container {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	padding-block: 16px;
	font-family: var(--ak-f-mono);
	font-size: 11px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: rgba(243, 237, 222, 0.5);
}
.ak-hero__meta .ak-container span:last-child { justify-self: end; }
.ak-hero__meta b { color: var(--ak-gold); font-weight: 400; }
.ak-scrollcue { display: flex; align-items: center; gap: 12px; }
.ak-scrollcue i {
	position: relative;
	display: block;
	width: 1px;
	height: 28px;
	background: rgba(227, 168, 43, 0.6);
	overflow: hidden;
}
.ak-scrollcue i::after {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--ak-gold);
	animation: ak-drop 2.2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

/* Picha ya hero */
.ak-portrait { position: relative; max-width: 420px; justify-self: end; width: 100%; }
.ak-portrait__frame { position: relative; border: 1px solid rgba(243, 237, 222, 0.15); padding: 12px; background: rgba(21, 28, 23, 0.6); }
.ak-portrait__frame::before {
	content: "";
	position: absolute;
	top: -1px;
	left: -1px;
	width: 32px;
	height: 32px;
	border-top: 2px solid var(--ak-gold);
	border-left: 2px solid var(--ak-gold);
}
.ak-portrait__frame::after {
	content: "";
	position: absolute;
	bottom: -1px;
	right: -1px;
	width: 32px;
	height: 32px;
	border-bottom: 2px solid var(--ak-flame);
	border-right: 2px solid var(--ak-flame);
}
.ak-portrait__img { overflow: hidden; aspect-ratio: 4 / 5; background: var(--ak-fern); }
.ak-portrait__img img { width: 100%; height: 100%; object-fit: cover; }
.ak-portrait__chini {
	display: flex;
	justify-content: space-between;
	padding: 12px 4px 0;
	font-family: var(--ak-f-mono);
	font-size: 10px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--ak-sage);
}
.ak-portrait__chini b { color: var(--ak-gold); font-weight: 400; }
.ak-badge { position: absolute; left: -48px; bottom: -48px; width: 140px; height: 140px; }
.ak-badge svg { width: 100%; height: 100%; animation: ak-spin 18s linear infinite; }
.ak-chip {
	position: absolute;
	right: -16px;
	top: 40px;
	border: 1px solid rgba(227, 168, 43, 0.4);
	background: rgba(15, 20, 17, 0.9);
	padding: 10px 16px;
	animation: ak-floaty 6s ease-in-out infinite;
}
.ak-chip small { display: block; font-family: var(--ak-f-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(243, 237, 222, 0.6); }
.ak-chip strong { font-family: var(--ak-f-display); font-size: 14px; color: var(--ak-gold); }

/* ============================================================
   7. SEHEMU + VICHWA
============================================================ */
.ak-section { position: relative; padding: 100px 0; border-top: 1px solid rgba(243, 237, 222, 0.1); }
.ak-sec-head { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.ak-sec-head__index { font-family: var(--ak-f-mono); font-size: 14px; color: var(--ak-gold); }
.ak-sec-head__label { font-family: var(--ak-f-mono); font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ak-sage); }
.ak-sec-head__line { height: 1px; flex: 1; background: rgba(243, 237, 222, 0.15); }
.ak-sec-title {
	margin: 0;
	font-family: var(--ak-f-display);
	font-weight: 800;
	font-size: clamp(34px, 4.5vw, 60px);
	line-height: 0.95;
	letter-spacing: -0.01em;
}

/* ============================================================
   8. MIRADI — kadi zinazobanana
============================================================ */
.ak-works { display: flex; flex-direction: column; gap: 40px; }
.ak-card {
	position: sticky;
	display: grid;
	grid-template-columns: 1fr 1fr;
	border: 1px solid rgba(243, 237, 222, 0.12);
	background: var(--ak-pine);
	transition: border-color 0.5s;
}
.ak-card:hover { border-color: rgba(227, 168, 43, 0.5); }
.ak-card__maandishi { padding: 44px; display: flex; flex-direction: column; gap: 22px; }
.ak-card__juu { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.ak-card__juu .no { font-family: var(--ak-f-mono); font-size: 14px; color: var(--ak-gold); }
.ak-card__juu .cat { font-family: var(--ak-f-mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ak-sage); }
.ak-card__jina {
	margin: 0;
	font-family: var(--ak-f-display);
	font-weight: 800;
	font-size: clamp(34px, 3.6vw, 58px);
	line-height: 0.95;
	transition: color 0.3s;
}
.ak-card:hover .ak-card__jina { color: var(--ak-gold); }
.ak-card__desc { color: rgba(243, 237, 222, 0.7); line-height: 1.65; max-width: 520px; margin: 0; }
.ak-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.ak-tag {
	font-family: var(--ak-f-mono);
	font-size: 11px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	border: 1px solid rgba(243, 237, 222, 0.2);
	color: rgba(243, 237, 222, 0.7);
	padding: 6px 12px;
	transition: border-color 0.3s;
}
.ak-card:hover .ak-tag { border-color: rgba(243, 237, 222, 0.35); }
.ak-card__chini {
	margin-top: auto;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	padding-top: 16px;
	border-top: 1px solid rgba(243, 237, 222, 0.1);
}
.ak-metric { margin: 0; font-family: var(--ak-f-display); font-weight: 800; font-size: 42px; color: var(--ak-rangi, var(--ak-gold)); }
.ak-metric-lbl { margin: 4px 0 0; font-family: var(--ak-f-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(243, 237, 222, 0.5); }
.ak-card__link {
	font-family: var(--ak-f-mono);
	font-size: 12px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--ak-gold);
}
.ak-card__link:hover { text-decoration: underline; }
.ak-card__picha {
	position: relative;
	min-height: 320px;
	overflow: hidden;
	border-left: 1px solid rgba(243, 237, 222, 0.12);
}
.ak-card__picha img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}
.ak-card:hover .ak-card__picha img { transform: scale(1.06) rotate(0.4deg); }
.ak-card__mwaka {
	position: absolute;
	top: 16px;
	right: 16px;
	font-family: var(--ak-f-mono);
	font-size: 11px;
	letter-spacing: 0.2em;
	border: 1px solid rgba(243, 237, 222, 0.3);
	background: rgba(15, 20, 17, 0.7);
	padding: 6px 12px;
}
.ak-card__mstari {
	position: absolute;
	bottom: 0;
	left: 0;
	height: 4px;
	width: 100%;
	background: var(--ak-rangi, var(--ak-gold));
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.7s ease;
}
.ak-card:hover .ak-card__mstari { transform: scaleX(1); }

/* ============================================================
   9. HUDUMA — accordion
============================================================ */
.ak-acc { border-top: 1px solid rgba(243, 237, 222, 0.15); }
.ak-acc__item { border-bottom: 1px solid rgba(243, 237, 222, 0.15); }
.ak-acc__btn { width: 100%; display: flex; align-items: center; gap: 24px; padding: 26px 0; text-align: left; }
.ak-acc__no { font-family: var(--ak-f-mono); font-size: 14px; color: var(--ak-gold); }
.ak-acc__item.is-open .ak-acc__no { color: var(--ak-flame); }
.ak-acc__jina {
	flex: 1;
	font-family: var(--ak-f-display);
	font-weight: 700;
	font-size: clamp(22px, 2.6vw, 34px);
	transition: color 0.3s;
}
.ak-acc__btn:hover .ak-acc__jina,
.ak-acc__item.is-open .ak-acc__jina { color: var(--ak-gold); }
.ak-acc__plus {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	flex-shrink: 0;
	border: 1px solid rgba(243, 237, 222, 0.25);
	font-size: 22px;
	color: rgba(243, 237, 222, 0.7);
	transition: transform 0.5s, border-color 0.3s, color 0.3s, background 0.3s;
}
.ak-acc__item.is-open .ak-acc__plus { transform: rotate(45deg); border-color: var(--ak-flame); color: var(--ak-flame); background: rgba(228, 87, 46, 0.1); }
.ak-acc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.55s cubic-bezier(0.16, 1, 0.3, 1); }
.ak-acc__item.is-open .ak-acc__body { grid-template-rows: 1fr; }
.ak-acc__body > div { overflow: hidden; }
.ak-acc__grid { display: grid; grid-template-columns: 3fr 2fr; gap: 24px; padding: 0 0 32px 60px; }
.ak-acc__grid p { margin: 0; color: rgba(243, 237, 222, 0.7); line-height: 1.65; }
.ak-acc__grid li {
	display: flex;
	align-items: center;
	gap: 12px;
	font-family: var(--ak-f-mono);
	font-size: 12px;
	letter-spacing: 0.08em;
	color: var(--ak-sage);
	padding: 5px 0;
}
.ak-acc__grid li::before { content: ""; width: 16px; height: 1px; background: rgba(227, 168, 43, 0.7); }

/* ============================================================
   10. KUHUSU
============================================================ */
.ak-about { display: grid; grid-template-columns: 5fr 7fr; gap: 60px; }
.ak-quote { margin: 32px 0 0; border-left: 2px solid var(--ak-gold); padding-left: 24px; }
.ak-quote p { margin: 0; font-family: var(--ak-f-display); font-weight: 700; font-size: 22px; line-height: 1.35; }
.ak-quote footer { margin-top: 16px; font-family: var(--ak-f-mono); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ak-gold); }
.ak-stats { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ak-stat { border: 1px solid rgba(243, 237, 222, 0.12); background: rgba(21, 28, 23, 0.7); padding: 24px; transition: border-color 0.3s; }
.ak-stat:hover { border-color: rgba(227, 168, 43, 0.5); }
.ak-stat b { font-family: var(--ak-f-display); font-weight: 800; font-size: 52px; color: var(--ak-gold); }
.ak-stat b em { font-style: normal; color: var(--ak-flame); }
.ak-stat span { display: block; margin-top: 8px; font-family: var(--ak-f-mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(243, 237, 222, 0.55); }
.ak-about__drop { float: left; margin: 4px 12px 0 0; font-family: var(--ak-f-display); font-weight: 700; font-size: 38px; color: var(--ak-gold); }
.ak-principles { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(243, 237, 222, 0.12); border: 1px solid rgba(243, 237, 222, 0.12); }
.ak-principle { background: var(--ak-ink); padding: 24px; transition: background 0.3s; }
.ak-principle:hover { background: var(--ak-pine); }
.ak-principle small { font-family: var(--ak-f-mono); font-size: 12px; color: var(--ak-flame); }
.ak-principle h3 { margin: 12px 0 8px; font-family: var(--ak-f-display); font-size: 18px; color: var(--ak-gold); }
.ak-principle p { margin: 0; font-size: 14px; color: rgba(243, 237, 222, 0.6); line-height: 1.6; }
.ak-honors { margin-top: 56px; }
.ak-honor {
	display: flex;
	align-items: baseline;
	gap: 24px;
	padding: 16px 0;
	border-bottom: 1px solid rgba(243, 237, 222, 0.1);
	transition: border-color 0.3s, padding-left 0.3s;
}
.ak-honor:hover { border-color: rgba(227, 168, 43, 0.4); padding-left: 12px; }
.ak-honor .mwaka { font-family: var(--ak-f-mono); font-size: 14px; color: var(--ak-gold); width: 48px; flex-shrink: 0; }
.ak-honor b { flex: 1; font-family: var(--ak-f-display); font-size: 19px; transition: color 0.3s; }
.ak-honor:hover b { color: var(--ak-gold); }
.ak-honor span { font-family: var(--ak-f-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(243, 237, 222, 0.5); }

/* ============================================================
   11. UJUZI
============================================================ */
.ak-skill { margin-bottom: 32px; }
.ak-skill__juu { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.ak-skill__juu b { font-family: var(--ak-f-display); font-size: 19px; }
.ak-skill__juu span { font-family: var(--ak-f-mono); font-size: 14px; color: var(--ak-gold); }
.ak-skill__reli { position: relative; height: 3px; background: rgba(243, 237, 222, 0.1); overflow: visible; }
.ak-skill__ujazo { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--ak-gold); transition: width 1.4s cubic-bezier(0.16, 1, 0.3, 1); }
.ak-skill__ncha { position: absolute; top: -3px; left: 0; width: 6px; height: 9px; background: var(--ak-flame); transition: left 1.4s cubic-bezier(0.16, 1, 0.3, 1); }
.ak-tools { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.ak-tool {
	border: 1px solid rgba(243, 237, 222, 0.2);
	font-family: var(--ak-f-mono);
	font-size: 14px;
	padding: 10px 16px;
	color: rgba(243, 237, 222, 0.8);
	transition: background 0.3s, color 0.3s, border-color 0.3s;
	cursor: default;
}
.ak-tool:hover { background: var(--ak-gold); color: var(--ak-ink); border-color: var(--ak-gold); }
.ak-note { margin-top: 40px; border: 1px solid rgba(243, 237, 222, 0.12); background: rgba(21, 28, 23, 0.7); padding: 28px; }
.ak-note b { font-family: var(--ak-f-display); font-size: 20px; line-height: 1.4; }
.ak-note .gold { color: var(--ak-gold); }
.ak-note .kata { color: var(--ak-flame); text-decoration: line-through; text-decoration-thickness: 2px; }
.ak-note p { margin: 12px 0 0; color: rgba(243, 237, 222, 0.6); font-size: 14px; line-height: 1.6; max-width: 460px; }

/* ============================================================
   12. USHUHUDA
============================================================ */
.ak-voices { background: rgba(21, 28, 23, 0.6); }
.ak-hesabu { font-family: var(--ak-f-mono); font-size: 12px; color: var(--ak-gold); }
.ak-voices__dirisha { overflow: hidden; margin-top: 20px; }
.ak-voices__reli { display: flex; transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.ak-voice { width: 100%; flex-shrink: 0; margin: 0; padding: 0 4px; }
.ak-voice blockquote { margin: 0; font-size: clamp(22px, 2.8vw, 34px); font-style: italic; font-weight: 500; line-height: 1.35; }
.ak-voice .fungua { font-family: var(--ak-f-display); font-style: normal; color: var(--ak-flame); }
.ak-voice figcaption { margin-top: 32px; display: flex; align-items: center; gap: 16px; }
.ak-voice .herufi {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	background: var(--ak-gold);
	color: var(--ak-ink);
	font-family: var(--ak-f-display);
	font-weight: 800;
}
.ak-voice .jina { display: block; font-family: var(--ak-f-display); font-weight: 700; }
.ak-voice .cheo { display: block; margin-top: 2px; font-family: var(--ak-f-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ak-sage); }
.ak-voices__vidhibiti { margin-top: 48px; display: flex; align-items: center; gap: 16px; }
.ak-voices__kitufe {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border: 1px solid rgba(243, 237, 222, 0.25);
	font-size: 18px;
	transition: border-color 0.3s, color 0.3s;
}
.ak-voices__kitufe:hover { border-color: var(--ak-gold); color: var(--ak-gold); }
.ak-dot-btn { width: 20px; height: 3px; background: rgba(243, 237, 222, 0.25); transition: width 0.5s, background 0.3s; padding: 0; }
.ak-dot-btn.is-active { width: 40px; background: var(--ak-gold); }
.ak-dot-btn:hover { background: rgba(243, 237, 222, 0.5); }

/* ============================================================
   13. MCHAKATO
============================================================ */
.ak-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(243, 237, 222, 0.12); border: 1px solid rgba(243, 237, 222, 0.12); }
.ak-step { background: var(--ak-ink); position: relative; padding: 30px; overflow: hidden; transition: background 0.4s; }
.ak-step:hover { background: var(--ak-pine); }
.ak-step::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	height: 3px;
	width: 100%;
	background: var(--ak-gold);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.5s;
}
.ak-step:hover::before { transform: scaleX(1); }
.ak-step .no {
	font-family: var(--ak-f-display);
	font-weight: 800;
	font-size: 66px;
	color: var(--ak-fern);
	transition: color 0.5s;
	user-select: none;
}
.ak-step:hover .no { color: rgba(227, 168, 43, 0.3); }
.ak-step h3 { margin: 24px 0 12px; font-family: var(--ak-f-display); font-size: 24px; transition: color 0.3s; }
.ak-step:hover h3 { color: var(--ak-gold); }
.ak-step p { margin: 0; font-size: 14px; color: rgba(243, 237, 222, 0.6); line-height: 1.6; }

/* ============================================================
   14. MAWASILIANO
============================================================ */
.ak-contact__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 60px; }
.ak-mail-kubwa {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 32px;
	border: 1px solid rgba(227, 168, 43, 0.6);
	color: var(--ak-gold);
	padding: 24px 28px;
	position: relative;
	isolation: isolate;
	overflow: hidden;
	transition: color 0.3s, border-color 0.3s;
}
.ak-mail-kubwa::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--ak-flame);
	transform: translateY(102%);
	transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
	z-index: -1;
}
.ak-mail-kubwa:hover { color: var(--ak-paper); }
.ak-mail-kubwa:hover::before { transform: translateY(0); }
.ak-mail-kubwa b { font-family: var(--ak-f-display); font-size: clamp(17px, 1.8vw, 24px); word-break: break-all; }
.ak-mail-kubwa svg { width: 24px; height: 24px; flex-shrink: 0; }
.ak-simu {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-top: 20px;
	font-family: var(--ak-f-mono);
	font-size: 14px;
	letter-spacing: 0.05em;
	color: rgba(243, 237, 222, 0.7);
	transition: color 0.3s;
}
.ak-simu:hover { color: var(--ak-gold); }
.ak-simu .ak-dot { background: var(--ak-flame); }
.ak-social li a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 0;
	border-bottom: 1px solid rgba(243, 237, 222, 0.1);
	transition: border-color 0.3s, padding-left 0.3s;
}
.ak-social li a:hover { border-color: rgba(227, 168, 43, 0.5); padding-left: 12px; }
.ak-social b { font-family: var(--ak-f-display); font-size: 18px; transition: color 0.3s; }
.ak-social li a:hover b { color: var(--ak-gold); }
.ak-social li a span { font-family: var(--ak-f-mono); font-size: 12px; color: rgba(243, 237, 222, 0.5); }

.ak-fomu { border: 1px solid rgba(243, 237, 222, 0.15); background: rgba(21, 28, 23, 0.6); padding: 36px; }
.ak-fomu__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; margin-top: 32px; }
.ak-fomu__grid .nusu { grid-column: 1 / -1; }
.ak-fomu label { display: block; font-family: var(--ak-f-mono); font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--ak-sage); margin-bottom: 6px; }
.ak-fomu input,
.ak-fomu select,
.ak-fomu textarea {
	width: 100%;
	background: transparent;
	border: 0;
	border-bottom: 1px solid rgba(243, 237, 222, 0.25);
	padding: 12px 0;
	color: var(--ak-paper);
	font-family: var(--ak-f-body);
	font-size: 15px;
	transition: border-color 0.3s;
}
.ak-fomu select { background: var(--ak-pine); }
.ak-fomu input:focus,
.ak-fomu select:focus,
.ak-fomu textarea:focus { outline: none; border-bottom-color: var(--ak-gold); }
.ak-fomu input::placeholder,
.ak-fomu textarea::placeholder { color: rgba(243, 237, 222, 0.3); }
.ak-fomu textarea { resize: none; }
.ak-fomu__kosa { font-family: var(--ak-f-mono); font-size: 12px; color: var(--ak-flame); margin: 20px 0 0; }
.ak-asante {
	min-height: 420px;
	border: 1px solid rgba(227, 168, 43, 0.5);
	background: rgba(21, 28, 23, 0.8);
	display: grid;
	place-items: center;
	text-align: center;
	padding: 40px;
}
.ak-asante .chapa {
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	margin: 0 auto 24px;
	background: var(--ak-gold);
	color: var(--ak-ink);
	font-size: 28px;
}
.ak-asante h3 { margin: 0; font-family: var(--ak-f-display); font-weight: 800; font-size: 36px; }
.ak-asante p { margin: 12px auto 0; max-width: 380px; color: rgba(243, 237, 222, 0.65); line-height: 1.6; }

/* ============================================================
   15. MIGUU
============================================================ */
.ak-site-footer { border-top: 1px solid rgba(243, 237, 222, 0.1); }
.ak-footer__grid { display: grid; grid-template-columns: 5fr 3fr 4fr; gap: 48px; padding: 56px 0; }
.ak-footer__grid p { color: rgba(243, 237, 222, 0.55); line-height: 1.6; max-width: 380px; }
.ak-footer__title { font-family: var(--ak-f-mono); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ak-sage); margin: 0 0 20px; }
.ak-footer__viungo li { margin-bottom: 12px; }
.ak-footer__viungo a { font-family: var(--ak-f-display); font-weight: 700; color: rgba(243, 237, 222, 0.8); transition: color 0.3s; }
.ak-footer__viungo a:hover { color: var(--ak-gold); }
.ak-footer__chini {
	border-top: 1px solid rgba(243, 237, 222, 0.1);
	padding: 20px 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	font-family: var(--ak-f-mono);
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(243, 237, 222, 0.4);
}
.ak-widget { margin-bottom: 28px; }
.ak-widget__title { font-family: var(--ak-f-mono); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ak-sage); }

/* ============================================================
   16. BLOGU (index/single/404)
============================================================ */
.ak-page-head { padding: 150px 0 60px; }
.ak-loop { display: flex; flex-direction: column; gap: 1px; background: rgba(243, 237, 222, 0.12); border: 1px solid rgba(243, 237, 222, 0.12); margin-bottom: 60px; }
.ak-post { display: grid; grid-template-columns: 220px 1fr; gap: 28px; background: var(--ak-ink); padding: 28px; transition: background 0.3s; }
.ak-post:hover { background: var(--ak-pine); }
.ak-post__picha { aspect-ratio: 4 / 3; overflow: hidden; background: var(--ak-fern); }
.ak-post__picha img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1); }
.ak-post:hover .ak-post__picha img { transform: scale(1.07); }
.ak-post__meta { font-family: var(--ak-f-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ak-sage); margin: 0 0 10px; }
.ak-post__meta b { color: var(--ak-gold); font-weight: 400; }
.ak-post h2 { margin: 0 0 10px; }
.ak-post h2 a { font-family: var(--ak-f-display); font-weight: 800; font-size: 28px; transition: color 0.3s; }
.ak-post h2 a:hover { color: var(--ak-gold); }
.ak-post p { margin: 0; color: rgba(243, 237, 222, 0.6); line-height: 1.6; }
.ak-post__soma { display: inline-block; margin-top: 14px; font-family: var(--ak-f-mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ak-gold); }
.ak-pagination { display: flex; gap: 12px; align-items: center; margin: 40px 0 80px; font-family: var(--ak-f-mono); font-size: 13px; }
.ak-pagination .page-numbers { border: 1px solid rgba(243, 237, 222, 0.25); padding: 10px 16px; transition: border-color 0.3s, color 0.3s; }
.ak-pagination .page-numbers:hover { border-color: var(--ak-gold); color: var(--ak-gold); }
.ak-pagination .current { background: var(--ak-gold); color: var(--ak-ink); border-color: var(--ak-gold); }
.ak-blogu-grid { display: grid; grid-template-columns: 1fr 320px; gap: 60px; padding-bottom: 80px; }
.ak-single header h1 { font-family: var(--ak-f-display); font-weight: 800; font-size: clamp(30px, 4vw, 52px); line-height: 1.05; margin: 0; }
.ak-single__picha { margin: 36px 0; overflow: hidden; border: 1px solid rgba(243, 237, 222, 0.12); }
.ak-maudhui { max-width: 680px; color: rgba(243, 237, 222, 0.85); font-size: 17px; line-height: 1.75; }
.ak-maudhui h2, .ak-maudhui h3 { font-family: var(--ak-f-display); }
.ak-maudhui a { color: var(--ak-gold); }
.ak-maudhui blockquote { border-left: 2px solid var(--ak-gold); padding-left: 20px; color: var(--ak-cream); }
.ak-comments { margin-top: 70px; border-top: 1px solid rgba(243, 237, 222, 0.15); padding-top: 40px; }
.ak-comments h2 { font-family: var(--ak-f-display); font-size: 26px; }
.ak-comment { border-bottom: 1px solid rgba(243, 237, 222, 0.1); padding: 22px 0; }
.ak-comment__meta { font-family: var(--ak-f-mono); font-size: 12px; color: var(--ak-sage); margin-bottom: 8px; }
.ak-comment__meta b { color: var(--ak-gold); font-weight: 400; }
.ak-comment p { margin: 0; color: rgba(243, 237, 222, 0.7); line-height: 1.6; }
.ak-comment-respond { margin-top: 40px; }
.ak-comment-respond textarea { min-height: 130px; }
.ak-err404 { min-height: 80vh; display: grid; place-items: center; text-align: center; padding-top: 120px; }
.ak-err404__namba { font-family: var(--ak-f-display); font-weight: 800; font-size: clamp(110px, 20vw, 260px); line-height: 1; color: transparent; -webkit-text-stroke: 2px rgba(227, 168, 43, 0.6); }
.ak-search { display: flex; border: 1px solid rgba(243, 237, 222, 0.25); }
.ak-search input { flex: 1; background: transparent; border: 0; padding: 14px 16px; color: var(--ak-paper); font-family: var(--ak-f-body); }
.ak-search input:focus { outline: none; }
.ak-search button { background: var(--ak-gold); color: var(--ak-ink); font-family: var(--ak-f-mono); font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; padding: 0 22px; transition: background 0.3s, color 0.3s; }
.ak-search button:hover { background: var(--ak-flame); color: var(--ak-paper); }

/* ============================================================
   17. RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
	.ak-hero__inner { grid-template-columns: 1fr; padding-top: 120px; }
	.ak-portrait { justify-self: start; margin-top: 20px; }
	.ak-card { grid-template-columns: 1fr; }
	.ak-card__picha { min-height: 260px; border-left: 0; border-bottom: 1px solid rgba(243, 237, 222, 0.12); order: -1; }
	.ak-about { grid-template-columns: 1fr; gap: 40px; }
	.ak-contact__grid { grid-template-columns: 1fr; gap: 48px; }
	.ak-steps { grid-template-columns: 1fr 1fr; }
	.ak-footer__grid { grid-template-columns: 1fr 1fr; }
	.ak-blogu-grid { grid-template-columns: 1fr; }
	#huduma .ak-container { grid-template-columns: 1fr !important; }
	#ujuzi .ak-container > div:last-child { grid-template-columns: 1fr !important; gap: 48px !important; }
}

@media (max-width: 860px) {
	.ak-nav, .ak-header__saa, .ak-header__cta { display: none; }
	.ak-burger { display: block; }
}

@media (max-width: 640px) {
	.ak-card__maandishi { padding: 28px; }
	.ak-principles { grid-template-columns: 1fr; }
	.ak-steps { grid-template-columns: 1fr; }
	.ak-fomu { padding: 24px; }
	.ak-fomu__grid { grid-template-columns: 1fr; }
	.ak-footer__grid { grid-template-columns: 1fr; }
	.ak-post { grid-template-columns: 1fr; }
	.ak-acc__grid { grid-template-columns: 1fr; padding-left: 0; }
	.ak-badge { left: -16px; bottom: -36px; width: 110px; height: 110px; }
	.ak-chip { right: 0; }
	.ak-section { padding: 70px 0; }
}

/* ============================================================
   18. PREFERS-REDUCED-MOTION
============================================================ */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
	.ak-rv,
	.ak-mask > span { opacity: 1 !important; transform: none !important; }
	.ak-marquee__track,
	.ak-noise,
	.kenburns,
	.ak-badge svg,
	.ak-chip,
	.ak-scrollcue i::after { animation: none !important; }
}
