/* ==========================================================================
   About Page Styles — K&K Consulting and Construction
   ========================================================================== */

/* --------------------------------------------------------------------------
   Layout: Single split-layout section
   -------------------------------------------------------------------------- */

.kk-about {
	padding: 100px 0 120px;
	position: relative;
	overflow: hidden;
}

/* Subtle ambient glow */
.kk-about::before {
	content: '';
	position: absolute;
	top: -30%;
	right: -15%;
	width: 700px;
	height: 700px;
	background: radial-gradient(circle, var(--kk-gold-10) 0%, transparent 65%);
	pointer-events: none;
}

.kk-about__inner {
	max-width: var(--kk-max-width);
	margin: 0 auto;
	padding: 0 var(--kk-gutter);
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
	align-items: start;
}


/* --------------------------------------------------------------------------
   Image Column
   -------------------------------------------------------------------------- */

.kk-about__image-col {
	position: relative;
	padding-top: 20px;
}

.kk-about__image-frame {
	position: relative;
	overflow: hidden;
	border-radius: var(--kk-radius-sm);
}

/* Gold border frame */
.kk-about__image-frame::before {
	content: '';
	position: absolute;
	inset: 0;
	border: 1px solid var(--kk-gold-30);
	border-radius: var(--kk-radius-sm);
	z-index: 2;
	pointer-events: none;
}

/* Decorative corner accent — bottom-right */
.kk-about__image-frame::after {
	content: '';
	position: absolute;
	bottom: -10px;
	right: -10px;
	width: 90px;
	height: 90px;
	border-bottom: 2px solid var(--kk-gold);
	border-right: 2px solid var(--kk-gold);
	pointer-events: none;
	z-index: 3;
}

.kk-about__image {
	width: 100%;
	height: auto;
	display: block;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	filter: brightness(0.92) contrast(1.04);
	transition: transform 0.8s var(--kk-ease);
}

.kk-about__image-frame:hover .kk-about__image {
	transform: scale(1.04);
}

/* Subtle bottom-gradient overlay for depth */
.kk-about__image-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		transparent 60%,
		rgba(0, 0, 0, 0.25) 100%
	);
	pointer-events: none;
	z-index: 1;
}


/* --------------------------------------------------------------------------
   Text Column
   -------------------------------------------------------------------------- */

.kk-about__text-col {
	position: relative;
}

.kk-about__label {
	display: inline-block;
	font-family: var(--kk-font-body);
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: var(--kk-gold);
	margin-bottom: 14px;
}

.kk-about__title {
	font-family: var(--kk-font-heading);
	font-size: clamp(2.4rem, 4vw, 3.4rem);
	font-weight: 400;
	line-height: 1.1;
	letter-spacing: 1px;
	background: linear-gradient(135deg, var(--kk-gold-light), var(--kk-gold));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	margin-bottom: 20px;
}

.kk-about__divider {
	width: 56px;
	height: 2px;
	background: linear-gradient(90deg, var(--kk-gold), var(--kk-gold-light));
	margin-bottom: 32px;
}

.kk-about__text {
	font-family: var(--kk-font-body);
	font-size: 1rem;
	line-height: 1.8;
	color: var(--kk-text-secondary);
	margin-bottom: 20px;
	max-width: 56ch;
}

.kk-about__text:last-of-type {
	margin-bottom: 40px;
}


/* --------------------------------------------------------------------------
   Signature
   -------------------------------------------------------------------------- */

.kk-about__signature {
	position: relative;
	margin-bottom: 48px;
}

.kk-about__signature-rule {
	width: 40px;
	height: 1px;
	background: var(--kk-gold-50);
	margin-bottom: 20px;
}

.kk-about__signature-closing {
	font-family: var(--kk-font-heading);
	font-size: 1.05rem;
	font-style: italic;
	font-weight: 400;
	color: var(--kk-text-muted);
	margin-bottom: 6px;
	max-width: none;
}

.kk-about__signature-name {
	font-family: var(--kk-font-heading);
	font-size: 1.5rem;
	font-style: italic;
	font-weight: 400;
	letter-spacing: 0.5px;
	background: linear-gradient(135deg, var(--kk-gold-light), var(--kk-gold));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	margin-bottom: 4px;
	max-width: none;
}

.kk-about__signature-role {
	font-family: var(--kk-font-body);
	font-size: 0.8rem;
	font-weight: 500;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--kk-text-dim);
	max-width: none;
}


/* --------------------------------------------------------------------------
   Stats Bar — Inline horizontal strip
   -------------------------------------------------------------------------- */

.kk-about__stats {
	display: flex;
	align-items: center;
	gap: 0;
	padding: 24px 0;
	border-top: 1px solid var(--kk-border);
	border-bottom: 1px solid var(--kk-border);
}

.kk-about__stat {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.kk-about__stat-divider {
	width: 1px;
	height: 36px;
	background: var(--kk-gold-30);
	flex-shrink: 0;
}

.kk-about__stat-number {
	font-family: var(--kk-font-heading);
	font-size: 1.8rem;
	font-weight: 400;
	color: var(--kk-gold-light);
	line-height: 1;
	margin-bottom: 4px;
}

.kk-about__stat-label {
	font-family: var(--kk-font-body);
	font-size: 0.7rem;
	font-weight: 500;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--kk-text-dim);
}


/* --------------------------------------------------------------------------
   Scroll Reveal Animations
   -------------------------------------------------------------------------- */

.kk-about .kk-animate {
	opacity: 0;
	transform: translateY(28px);
	transition:
		opacity 0.7s var(--kk-ease),
		transform 0.7s var(--kk-ease);
}

.kk-about .kk-animate--visible {
	opacity: 1;
	transform: translateY(0);
}

/* Staggered delays for text column children */
.kk-about__text-col .kk-about__label.kk-animate--visible {
	transition-delay: 0.05s;
}

.kk-about__text-col .kk-about__title.kk-animate--visible {
	transition-delay: 0.12s;
}

.kk-about__text-col .kk-about__divider.kk-animate--visible {
	transition-delay: 0.18s;
}

.kk-about__text-col .kk-about__text.kk-animate--visible:nth-of-type(1) {
	transition-delay: 0.24s;
}

.kk-about__text-col .kk-about__text.kk-animate--visible:nth-of-type(2) {
	transition-delay: 0.30s;
}

.kk-about__text-col .kk-about__text.kk-animate--visible:nth-of-type(3) {
	transition-delay: 0.36s;
}

.kk-about__text-col .kk-about__signature.kk-animate--visible {
	transition-delay: 0.42s;
}

.kk-about__text-col .kk-about__stats.kk-animate--visible {
	transition-delay: 0.48s;
}


/* --------------------------------------------------------------------------
   Reduced Motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	.kk-about .kk-animate {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.kk-about__image-frame:hover .kk-about__image {
		transform: none;
	}
}


/* --------------------------------------------------------------------------
   Responsive — Tablet
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
	.kk-about {
		padding: 72px 0 80px;
	}

	.kk-about__inner {
		gap: 48px;
	}

	.kk-about__stat-number {
		font-size: 1.5rem;
	}
}


/* --------------------------------------------------------------------------
   Responsive — Small Tablet / Large Phone
   -------------------------------------------------------------------------- */

@media (max-width: 768px) {
	.kk-about {
		padding: 56px 0 64px;
	}

	.kk-about__inner {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.kk-about__image-col {
		padding-top: 0;
		order: -1;
	}

	.kk-about__image {
		aspect-ratio: 16 / 10;
	}

	.kk-about__image-frame::after {
		width: 60px;
		height: 60px;
		bottom: -6px;
		right: -6px;
	}

	.kk-about__text {
		max-width: 100%;
	}

	.kk-about__title {
		font-size: 2.2rem;
	}
}


/* --------------------------------------------------------------------------
   Responsive — Mobile
   -------------------------------------------------------------------------- */

@media (max-width: 480px) {
	.kk-about {
		padding: 40px 0 48px;
	}

	.kk-about__inner {
		padding: 0 16px;
		gap: 28px;
	}

	.kk-about__image-frame::after {
		display: none;
	}

	.kk-about__title {
		font-size: 1.9rem;
	}

	.kk-about__text {
		font-size: 0.95rem;
		line-height: 1.75;
	}

	.kk-about__signature-name {
		font-size: 1.25rem;
	}

	.kk-about__stats {
		padding: 20px 0;
	}

	.kk-about__stat-number {
		font-size: 1.3rem;
	}

	.kk-about__stat-divider {
		height: 28px;
	}

	.kk-about__stat-label {
		font-size: 0.65rem;
	}
}
