/* ============================================================
   ABOUT SECTION — about.css
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Domine:wght@600;700&family=Inter:wght@400;500;600&family=Space+Grotesk:wght@400;500&display=swap");

:root {
	--about-bg: var(--hero-bg);
	--about-paper: rgba(255, 255, 255, 0.7);
	--about-paper-strong: #f8f6f2;
	--about-navy: #001666;
	--about-accent: #ff5b14;
	--about-shadow: rgba(30, 42, 94, 0.12);
	--about-border: rgba(0, 22, 102, 0.08);
	--about-note-shadow: rgba(0, 22, 102, 0.1);
}

#about {
	position: relative;
	padding: 15px 32px 100px;
	background-color: var(--about-bg);
	overflow: hidden;
}

.about-container {
	position: relative;
	width: min(100%, 820px);
	min-height: min-content;
	margin: 0 auto;
	padding: 0 0 8px;
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: visible;
	isolation: isolate;
}

.about-card,
.about-note,
.about-note-sketch,
.about-mini-stack,
.about-sticker,
.about-snacks {
	transition:
		transform 240ms ease,
		box-shadow 240ms ease;
}

.about-card {
	position: relative;
	width: min(100%, 350px);
	border-radius: 24px;
	background: linear-gradient(
		180deg,
		rgba(255, 255, 255, 0.9),
		rgba(255, 255, 255, 0.72)
	);
	border: 1px solid rgba(255, 255, 255, 0.75);
	box-shadow:
		0 22px 48px -28px rgba(0, 22, 102, 0.3),
		0 2px 0 rgba(255, 255, 255, 0.9) inset;
	overflow: hidden;
	backdrop-filter: blur(10px);
	z-index: 1;
}

.about-card-heading {
	padding: 34px 24px 24px;
	text-align: center;
	background: rgba(255, 255, 255, 0.74);
}

.about-title {
	font-family: "Domine", serif;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--about-navy);
	margin: 0;
}

.about-subtitle {
	margin-top: 6px;
	font-family: "Inter", sans-serif;
	font-size: 20px;
	font-weight: 500;
	line-height: 1.4;
	color: var(--about-accent);
}

.about-portrait-frame {
	position: relative;
	height: 350px;
	background: #ddd1c5;
	overflow: hidden;
}

.about-portrait-frame::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(255, 255, 255, 0) 60%,
		rgba(245, 238, 230, 0.2) 100%
	);
	pointer-events: none;
}

.about-portrait-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 20%;
}

.about-decor {
	position: absolute;
	pointer-events: none;
	z-index: 2;
}

.about-decor--left {
	left: 150px;
	top: 50px;
	width: 48px;
	height: min-content;
}

.about-decor--right {
	right: 35px;
	top: 25px;
	width: 248px;
	height: 350px;
}

.about-sticker {
	position: absolute;
	display: grid;
	place-items: center;
	font-size: 44px;
	line-height: 1;
	filter: drop-shadow(0 10px 18px rgba(0, 22, 102, 0.08));
	animation: aboutFloat 6s ease-in-out infinite;
}

.about-sticker--palette {
	left: 0;
	top: 0;
	animation-delay: 0s;
}

.about-sticker--brush {
	left: 0;
	top: 58px;
	animation-delay: 0.8s;
}

.about-sticker--books {
	left: 0;
	top: 118px;
	animation-delay: 1.4s;
}

.about-mini-stack {
	position: absolute;
	top: 0;
	right: 0;
	width: 236px;
	height: 176px;
	pointer-events: auto;
}

.about-mini-card {
	position: absolute;
	overflow: visible;
	background: #fff;
	padding: 6px;
	border: 2px solid rgba(255, 255, 255, 0.9);
	border-radius: 8px;
	box-shadow: 0 12px 26px -18px rgba(0, 22, 102, 0.38);
	transition: z-index 0s linear 0s;
}

.about-mini-card:hover,
.about-mini-card:focus-within {
	z-index: 20;
}

.about-mini-card--tall {
	width: 90px;
	height: 120px;
	right: 80px;
	top: 0;
	transform: rotate(-4deg);
	z-index: 3;
}

.about-mini-card--square {
	width: 108px;
	height: 114px;
	left: 26px;
	top: 44px;
	transform: rotate(6deg);
	z-index: 2;
}

.about-mini-card--wide {
	width: 118px;
	height: 72px;
	right: 0;
	top: 74px;
	transform: rotate(2deg);
	z-index: 1;
}

.about-mini-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 4px;
}

.about-mini-image--tall {
	object-position: center 18%;
}

.about-mini-image--square {
	object-position: center 36%;
	filter: saturate(0.72) contrast(1.02);
}

.about-mini-image--wide {
	object-position: center 45%;
	filter: hue-rotate(-20deg) saturate(1.08);
}

.about-mini-clip {
	position: absolute;
	top: -12px;
	right: 4px;
	font-size: 32px;
	transform: rotate(8deg);
	filter: drop-shadow(0 4px 8px rgba(0, 22, 102, 0.1));
	z-index: 3;
}

.about-snacks {
	position: absolute;
	bottom: 88px;
	right: 64px;
	width: min-content;
	height: min-content;
	transform: rotate(4deg);
}

.about-sticker--coffee {
	left: -125px;
	top: 30px;
	width: 82px;
	height: 82px;
	rotate: 15deg;
	animation-delay: 1.2s;
}

.about-sticker-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	user-select: none;
	pointer-events: none;
}

.about-sticker--fries {
	top: -5px;
	right: 0px;
	width: 56px;
	height: 56px;
	rotate: -10deg;
	animation-delay: 1.9s;
}

.about-sticker--continental {
	left: 42px;
	top: -22px;
	width: 68px;
	height: 68px;
	rotate: 8deg;
	animation-delay: 2.6s;
}

.about-sticker--rajma {
	left: -18px;
	top: 48px;
	width: 64px;
	height: 64px;
	rotate: -15deg;
	animation-delay: 3.2s;
}

.about-sticker--south-indian {
	right: -32px;
	top: 110px;
	width: 72px;
	height: 72px;
	rotate: 12deg;
	animation-delay: 3.8s;
}

.about-note {
	position: absolute;
	left: 0px;
	bottom: 22px;
	width: 266px;
	padding: 14px 18px 12px;
	background: rgb(244, 244, 245);
	border: 1px solid rgba(255, 255, 255, 0.92);
	border-radius: 4px;
	box-shadow: 0 1px 2px 0 rgba(39, 39, 42, 0.05);
	backdrop-filter: blur(10px);
	overflow: visible;
	z-index: 3;
}

.about-note-pin {
	position: absolute;
	left: 8px;
	top: -18px;
	font-size: 32px;
	transform: rotate(-16deg);
	filter: drop-shadow(0 6px 10px rgba(215, 40, 40, 0.14));
}

.about-note-sketch {
	position: absolute;
	left: 18px;
	top: calc(100% - 18px);
	bottom: auto;
	width: 116px;
	height: 116px;
	padding: 5px;
	border-radius: 8px;
	background: #fff;
	border: 2px solid rgba(255, 255, 255, 0.92);
	box-shadow: 0 1px 2px 0 rgba(39, 39, 42, 0.08);
	transform: translateY(0) rotate(-7deg);
	overflow: hidden;
	z-index: -1;
}

.about-note-sketch-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 24% center;
	filter: grayscale(0.25) contrast(1.1) saturate(0.75);
	border-radius: 4px;
}

.about-note-copy {
	position: relative;
	z-index: 2;
	font-family: "Space Grotesk", sans-serif;
	font-size: 16px;
	line-height: 1.55;
	letter-spacing: 0;
	color: var(--about-navy);
	text-wrap: balance;
}

.about-note-link {
	position: relative;
	z-index: 2;
	margin-top: 6px;
	font-family: "Space Grotesk", sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.6;
	color: rgba(95, 101, 102, 1);
}

@keyframes aboutFloat {
	0%,
	100% {
		translate: 0 0;
	}
	50% {
		translate: 0 -10px;
	}
}

@media (max-width: 1024px) {
	#about {
		padding: 56px 24px 96px;
	}

	.about-container {
		width: min(100%, 700px);
		padding-bottom: 24px;
	}

	.about-decor--left {
		left: -18px;
		top: 88px;
	}

	.about-decor--right {
		right: -124px;
		top: 24px;
	}

	.about-note {
		left: -92px;
		bottom: 20px;
	}

	.about-note-sketch {
		left: 16px;
		top: calc(100% - 18px);
	}
}

@media (max-width: 800px) {
	.about-container {
		min-height: auto;
		width: 100%;
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 24px;
		padding-bottom: 0;
	}

	.about-card {
		width: 100%;
	}

	.about-card,
	.about-note,
	.about-decor,
	.about-mini-stack,
	.about-snacks {
		position: relative;
	}

	.about-decor--left,
	.about-decor--right {
		inset: auto;
		width: 100%;
		height: auto;
		display: flex;
		justify-content: center;
	}

	.about-decor--left {
		order: -1;
		gap: 18px;
	}

	.about-sticker {
		position: static;
		font-size: 40px;
		transform: none;
	}

	.about-decor--right {
		flex-direction: column;
		align-items: center;
		gap: 24px;
	}

	.about-mini-stack {
		width: 240px;
		height: 178px;
	}

	.about-snacks {
		width: auto;
		height: auto;
		display: flex;
		gap: 18px;
		align-items: center;
		justify-content: center;
		transform: none;
		right: auto;
		bottom: auto;
	}

	.about-sticker--coffee,
	.about-sticker--fries {
		position: static;
	}

	.about-note {
		left: auto;
		bottom: auto;
		width: min(100%, 360px);
		padding: 14px 18px 16px;
	}

	.about-note-sketch {
		left: 18px;
		top: calc(100% - 12px);
		bottom: auto;
		width: 92px;
		height: 92px;
	}
}

@media (max-width: 560px) {
	#about {
		padding: 48px 18px 72px;
	}

	.about-card {
		width: 100%;
	}

	.about-card-heading {
		padding: 24px 20px 18px;
	}

	.about-portrait-frame {
		height: auto;
		aspect-ratio: 3 / 4;
	}

	.about-note {
		width: min(100%, 320px);
	}

	.about-note-sketch {
		width: 84px;
		height: 84px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.about-card,
	.about-note,
	.about-mini-stack,
	.about-sticker,
	.about-snacks {
		transition: none;
		animation: none;
		transform: none !important;
	}
}
