/* ==========================================================================
   FOUNDER PAGE — "Sky" theme (matches the homepage).
   Loaded after the page's own styles and Sky-common.css.
   ========================================================================== */
body {
	background: #f3f7fe !important;
}

.fp {
	--fp-ink: #0a1633;
	--fp-text: #4a5672;
	--fp-muted: #5a6785;
	--fp-line: #e1eafa;
	--fp-soft: #f3f7fe;
	--fp-brand: #2563eb;
	--fp-brand-dark: #1d4ed8;
}

.fp-name,
.fp-title,
.fp-subhead,
.fp-timeline-head h3,
.fp-edu h3,
.fp-cta h3,
.fp-quote blockquote {
	font-family: "Sora", "Inter", system-ui, sans-serif;
}

/* ---------- Hero ---------- */
.fp-hero {
	padding: 150px 0 170px;
}

.fp-hero::after {
	display: none;
}

.fp-hero .container {
	z-index: 2;
}

.fp-name {
	font-weight: 600;
	letter-spacing: -0.03em;
	text-shadow: 0 2px 16px rgba(2, 0, 36, 0.5);
}

.fp-role strong {
	color: #7dd3fc;
}

.fp-hero-desc {
	color: rgba(255, 255, 255, 0.9);
}

.fp-meta li {
	color: rgba(255, 255, 255, 0.92);
}

.fp-btn {
	border-radius: 999px;
}

.fp-hero .fp-btn--primary {
	background: #ffffff;
	border-color: #ffffff;
	color: #1d4ed8;
	box-shadow: 0 16px 30px -16px rgba(2, 0, 36, 0.8);
}

.fp-hero .fp-btn--primary:hover {
	background: #ffffff;
	color: #1d4ed8;
	transform: translateY(-3px);
}

.fp-hero .fp-btn--linkedin,
.fp-hero .fp-btn--ghost {
	background: rgba(255, 255, 255, 0.1);
	border: 1.5px solid rgba(255, 255, 255, 0.55);
	color: #ffffff;
}

.fp-hero .fp-btn--linkedin:hover,
.fp-hero .fp-btn--ghost:hover {
	background: rgba(255, 255, 255, 0.2);
	color: #ffffff;
}

.fp-portrait img {
	border-radius: 24px;
	box-shadow: 0 40px 80px -30px rgba(2, 0, 36, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.fp-portrait-badge {
	border-radius: 18px;
	border: 0;
	box-shadow: 0 20px 40px -18px rgba(2, 0, 36, 0.6);
}

/* ---------- Sections ---------- */
.fp-section {
	position: relative;
	padding: 80px 0 100px;
}

.fp-section > .container {
	position: relative;
	z-index: 2;
}

.fp-section--white {
	border: 0;
	padding-top: 130px;
}

.fp-title {
	position: relative;
	font-weight: 600;
	letter-spacing: -0.03em;
	font-size: clamp(1.7rem, 3vw, 2.35rem);
	padding-bottom: 16px;
	margin-bottom: 22px;
}

.fp-title::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 56px;
	height: 3px;
	border-radius: 3px;
	background: linear-gradient(90deg, #2563eb, #38bdf8);
}

.fp-lead {
	line-height: 1.8;
}

.fp-chips li {
	border-radius: 999px;
	border: 1px solid #d5e3fb;
	background: #ffffff;
	color: #33405f;
	font-weight: 600;
}

/* Quote card */
.fp-quote {
	border-radius: 24px;
	border: 0;
	background: linear-gradient(135deg, #060552 0%, #090979 35%, #0482c9 100%);
	box-shadow: 0 36px 70px -36px rgba(37, 99, 235, 0.65);
}

/* Cards */
.fp-card {
	border: 1px solid #e1eafa;
	border-radius: 22px;
	box-shadow: 0 22px 44px -30px rgba(37, 99, 235, 0.4);
}

.fp-edu .fp-icon {
	border-radius: 14px;
	background: linear-gradient(135deg, #2563eb, #38bdf8);
	color: #ffffff;
}

.fp-timeline-head h3,
.fp-edu h3 {
	font-weight: 600;
	color: #0a1633;
}

.fp-cta {
	border-radius: 22px;
	background: linear-gradient(135deg, #090979 0%, #0482c9 70%, #0ea5e9 100%);
	box-shadow: 0 30px 60px -30px rgba(37, 99, 235, 0.65);
}

.fp-cta h3 {
	font-weight: 600;
}

.fp-cta .fp-btn {
	background: #ffffff;
	color: #1d4ed8;
	font-weight: 700;
}

/* ---------- Tablet and phone ---------- */
@media (max-width: 991.98px) {
	.fp-hero { padding: 120px 0 130px; }
	.fp-section { padding: 60px 0 76px; }
	.fp-section--white { padding-top: 104px; }
}

@media (max-width: 575.98px) {
	.fp-hero { padding: 104px 0 96px; }
	.fp-section { padding: 44px 0 56px; }
	.fp-section--white { padding-top: 80px; }
	.fp-title { font-size: 1.4rem; }
	.fp-quote,
	.fp-card,
	.fp-cta { border-radius: 20px; }
}

.fp-hero .fp-btn--primary,
.fp-hero .fp-btn--primary:hover {
	color: #1d4ed8 !important;
}

/* ==========================================================================
   HERO: typed role line, portrait with moving ring and floating chips
   ========================================================================== */
.fp-typed {
	min-height: 1.6em;
	margin: -8px 0 20px;
	font-family: "Cascadia Code", Consolas, "SFMono-Regular", Menlo, monospace;
	font-size: 1rem;
	color: #bae6fd;
}

.fp-typed::before {
	content: '> ';
	color: #7dd3fc;
}

.fp-typed i {
	display: inline-block;
	width: 8px;
	height: 1.05em;
	margin-left: 3px;
	vertical-align: -3px;
	background: #7dd3fc;
	animation: fpBlink 1s steps(1) infinite;
}

@keyframes fpBlink {
	50% { opacity: 0; }
}

.fp-name {
	animation: fpRise 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.fp-role { animation: fpRise 0.7s 0.08s cubic-bezier(0.16, 1, 0.3, 1) both; }
.fp-typed { animation: fpRise 0.7s 0.14s cubic-bezier(0.16, 1, 0.3, 1) both; }
.fp-hero-desc { animation: fpRise 0.7s 0.2s cubic-bezier(0.16, 1, 0.3, 1) both; }
.fp-meta { animation: fpRise 0.7s 0.26s cubic-bezier(0.16, 1, 0.3, 1) both; }
.fp-actions { animation: fpRise 0.7s 0.32s cubic-bezier(0.16, 1, 0.3, 1) both; }

@keyframes fpRise {
	from { opacity: 0; transform: translateY(18px); }
	to { opacity: 1; transform: none; }
}

.fp-portrait {
	max-width: 380px;
	animation: fpPortraitIn 0.9s 0.1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes fpPortraitIn {
	from { opacity: 0; transform: translateY(26px) scale(0.96); }
	to { opacity: 1; transform: none; }
}

/* The old offset frame is replaced by the ring */
.fp-portrait::before {
	display: none;
}

.fp-portrait-ring {
	position: absolute;
	inset: -26px;
	border-radius: 50%;
	border: 2px dashed rgba(186, 230, 253, 0.55);
	animation: fpSpin 40s linear infinite;
	pointer-events: none;
}

.fp-portrait-ring::after {
	content: '';
	position: absolute;
	top: 12%;
	left: 6%;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: #7dd3fc;
	box-shadow: 0 0 0 6px rgba(125, 211, 252, 0.25);
}

@keyframes fpSpin {
	to { transform: rotate(360deg); }
}

.fp-portrait img {
	aspect-ratio: 4 / 5;
	object-position: 50% 30%;
	border-radius: 28px;
	border: 5px solid rgba(255, 255, 255, 0.95);
}

.fp-portrait-badge {
	left: -34px;
	bottom: 40px;
	animation: fpFloat 6s ease-in-out infinite;
}

.fp-portrait-chip {
	position: absolute;
	top: 34px;
	right: -40px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	border-radius: 999px;
	background: #ffffff;
	color: #0a1633;
	font-size: 0.86rem;
	font-weight: 700;
	white-space: nowrap;
	box-shadow: 0 20px 40px -18px rgba(2, 0, 36, 0.6);
	animation: fpFloat 6s -3s ease-in-out infinite;
}

.fp-portrait-chip i {
	color: #2563eb;
}

@keyframes fpFloat {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-10px); }
}

/* ==========================================================================
   FACTS under the hero
   ========================================================================== */
.fp-facts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	list-style: none;
	margin: 0 0 64px;
	padding: 0;
}

.fp-facts li {
	position: relative;
	overflow: hidden;
	padding: 26px 26px 24px;
	border-radius: 22px;
	border: 1px solid #e1eafa;
	background: #ffffff;
	box-shadow: 0 22px 44px -30px rgba(37, 99, 235, 0.4);
}

.fp-facts li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 4px;
	background: linear-gradient(90deg, #2563eb, #38bdf8);
}

.fp-facts strong {
	display: block;
	font-family: "Sora", "Inter", system-ui, sans-serif;
	font-size: clamp(2rem, 3.6vw, 2.7rem);
	font-weight: 600;
	letter-spacing: -0.03em;
	line-height: 1.1;
	background: linear-gradient(90deg, #1d4ed8, #0ea5e9);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-variant-numeric: tabular-nums;
}

.fp-facts li > span {
	display: block;
	margin-top: 6px;
	color: #4a5672;
	font-weight: 500;
}

/* ==========================================================================
   ABOUT: chips and quote
   ========================================================================== */
.fp-chips li {
	transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.fp-chips li:hover {
	transform: translateY(-3px);
	border-color: #2563eb;
	background: #eef4ff;
	color: #1d4ed8;
}

.fp-quote::before {
	animation: fpFloat 7s ease-in-out infinite;
}

.fp-quote figcaption img {
	object-fit: cover;
	border: 2px solid rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   CAREER: the line fills as you scroll
   ========================================================================== */
.fp-timeline::before {
	content: '';
	position: absolute;
	left: 39px;
	top: 54px;
	width: 2px;
	height: var(--fp-line-h, 0px);
	border-radius: 2px;
	background: linear-gradient(180deg, #2563eb, #38bdf8);
	transform: scaleY(var(--fp-line-p, 0));
	transform-origin: top;
	transition: transform 0.15s linear;
	z-index: 1;
}

.fp-timeline-item::after {
	z-index: 2;
	transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.fp-timeline-item.is-reached::after {
	border-color: #2563eb;
	background: #2563eb;
	box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.16);
	transform: scale(1.1);
}

.fp-timeline-item.is-current.is-reached::after {
	animation: fpPulse 2.2s ease-out infinite;
}

@keyframes fpPulse {
	0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.45); }
	100% { box-shadow: 0 0 0 14px rgba(37, 99, 235, 0); }
}

.fp-timeline-item h3,
.fp-timeline-item .fp-company {
	transition: color 0.3s ease;
}

.fp-timeline-item:not(.is-reached) h3 {
	color: #7c89a6;
}

.fp-edu,
.fp-cta {
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.fp-edu:hover,
.fp-cta:hover {
	transform: translateY(-5px);
}

.fp-cta .fp-btn i {
	transition: transform 0.25s ease;
}

.fp-cta .fp-btn:hover i {
	transform: translateX(5px);
}

/* ---------- Tablet and phone ---------- */
@media (max-width: 991.98px) {
	.fp-portrait { max-width: 300px; margin-bottom: 30px; }
	.fp-portrait-chip { right: -30px; top: 22px; }
	.fp-portrait-badge { left: -30px; }
	.fp-typed { margin-top: -6px; }
	.fp-facts { margin-bottom: 48px; }
}

@media (max-width: 575.98px) {
	.fp-portrait { max-width: 232px; margin-bottom: 40px; }
	.fp-portrait-ring { inset: -18px; }
	.fp-portrait-chip { right: -34px; top: 14px; padding: 8px 12px; font-size: 0.76rem; }
	.fp-portrait-badge { left: 50%; bottom: -22px; animation: none; }
	.fp-typed { font-size: 0.92rem; }
	.fp-facts { grid-template-columns: 1fr; gap: 10px; margin-bottom: 36px; }
	.fp-facts li { display: flex; align-items: center; gap: 16px; padding: 16px 18px; }
	.fp-facts strong { flex: none; min-width: 92px; font-size: 1.8rem; }
	.fp-facts li > span { margin: 0; font-size: 0.94rem; }
	.fp-timeline::before { left: 27px; top: 46px; }
}

@media (prefers-reduced-motion: reduce) {
	.fp-name, .fp-role, .fp-typed, .fp-hero-desc, .fp-meta, .fp-actions, .fp-portrait,
	.fp-portrait-ring, .fp-portrait-badge, .fp-portrait-chip, .fp-typed i,
	.fp-quote::before, .fp-timeline-item.is-current.is-reached::after {
		animation: none;
	}
}
