@charset "utf-8";
/* =========================================================
   Carl Victor Buenafe — Portfolio (neon / cyber theme)
   ========================================================= */

:root {
	--bg: #050b14;
	--panel: rgba(13, 22, 38, 0.72);
	--panel-solid: #0d1626;
	--line: rgba(148, 178, 214, 0.14);
	--line-strong: rgba(148, 178, 214, 0.28);
	--text: #e6f1ff;
	--text-2: #aebdd0;
	--muted: #7d8da3;
	--cyan: #5ee7f7;
	--blue: #60a5fa;
	--purple: #a78bfa;
	--pink: #f472b6;
	--grad: linear-gradient(100deg, #22d3ee 0%, #8b5cf6 55%, #ec4899 100%);

	--f-display: 'Orbitron', 'Segoe UI', system-ui, sans-serif;
	--f-body: 'Exo 2', 'Segoe UI', system-ui, -apple-system, sans-serif;
	--f-mono: 'Share Tech Mono', ui-monospace, Menlo, Consolas, monospace;

	--radius: 18px;
	--nav-h: 72px;
	--gutter: clamp(16px, 4vw, 40px);
	color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
	background: var(--bg);
	color: var(--text);
	font-family: var(--f-body);
	font-size: 1.05rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; }
h1, h2, h3 { line-height: 1.15; text-wrap: balance; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.skip { position: absolute; left: -999px; top: 10px; z-index: 200; padding: 8px 14px; border-radius: 8px; background: var(--cyan); color: #04111c; }
.skip:focus { left: 16px; }

/* ---------- background ---------- */
#tech-canvas {
	position: fixed; inset: 0; width: 100%; height: 100%;
	z-index: -3; opacity: 0.22; pointer-events: none;
}
.bg-grid {
	position: fixed; inset: 0; z-index: -2; pointer-events: none;
	background-image:
		linear-gradient(rgba(94, 231, 247, 0.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(94, 231, 247, 0.045) 1px, transparent 1px);
	background-size: 56px 56px;
	-webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%);
	mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%);
}
.bg-glow { position: fixed; z-index: -2; pointer-events: none; border-radius: 50%; filter: blur(90px); opacity: .5; }
.bg-glow--a { width: 520px; height: 520px; top: -160px; left: -140px; background: rgba(34, 211, 238, .28); }
.bg-glow--b { width: 560px; height: 560px; bottom: -220px; right: -160px; background: rgba(168, 85, 247, .26); }

/* ---------- buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 26px; border-radius: 999px;
	font-family: var(--f-body); font-weight: 600; font-size: .95rem; letter-spacing: .03em;
	text-decoration: none; cursor: pointer; border: 1px solid transparent;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 8px 28px -8px rgba(139, 92, 246, .7); }
.btn--primary:hover { box-shadow: 0 12px 34px -8px rgba(236, 72, 153, .75); }
.btn--outline { border-color: var(--line-strong); background: rgba(13, 22, 38, .6); color: var(--text); }
.btn--outline:hover { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(94, 231, 247, .12); }
.btn--ghost { background: rgba(94, 231, 247, .1); color: var(--cyan); }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: .85rem; }

/* ---------- nav ---------- */
.nav {
	position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
	background: rgba(5, 11, 20, .72);
	backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
	border-bottom: 1px solid transparent; transition: border-color .25s ease;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner { height: var(--nav-h); display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark {
	width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px;
	font-family: var(--f-display); font-weight: 900; font-size: .8rem; color: #fff;
	background: var(--grad); box-shadow: 0 0 18px rgba(139, 92, 246, .45);
}
.brand__name { font-family: var(--f-display); font-weight: 700; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.nav nav { margin-left: auto; }
.nav__links { display: flex; gap: 4px; }
.nav__links a {
	position: relative; display: block; padding: 8px 12px;
	font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
	text-decoration: none; color: var(--text-2); transition: color .2s ease;
}
.nav__links a::after {
	content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px;
	background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav__links a:hover, .nav__links a.is-active { color: var(--text); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 12px; background: transparent; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav__toggle span { width: 18px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .25s ease, opacity .25s ease; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1020px) {
	.brand__name { display: none; }
}
@media (max-width: 860px) {
	.nav__toggle { display: flex; }
	.nav__cta { margin-left: auto; }
	.nav nav { position: absolute; top: 100%; left: 0; right: 0; margin: 0; }
	.nav__links {
		display: none; flex-direction: column; gap: 2px;
		padding: 12px var(--gutter) 20px; background: rgba(5, 11, 20, .97); border-bottom: 1px solid var(--line);
	}
	.nav__links.is-open { display: flex; }
	.nav__links a { padding: 14px 12px; font-size: .95rem; }
	.nav__links a::after { display: none; }
}

/* ---------- hero ---------- */
.hero {
	display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: clamp(32px, 6vw, 80px);
	padding-block: clamp(48px, 8vw, 110px) clamp(56px, 8vw, 100px);
}
.hero__hello { font-family: var(--f-mono); color: var(--cyan); font-size: 1.05rem; letter-spacing: .04em; }
.prompt { color: var(--pink); margin-right: 4px; }
.hero__name {
	margin-top: 14px; font-family: var(--f-display); font-weight: 900;
	font-size: clamp(2.4rem, 6.4vw, 4.8rem); letter-spacing: .01em; line-height: 1.04; text-transform: uppercase;
}
.hero__name .grad { filter: drop-shadow(0 0 22px rgba(139, 92, 246, .35)); }
.hero__role {
	margin-top: 18px; font-family: var(--f-mono); font-size: clamp(1rem, 1.6vw, 1.2rem); color: var(--text-2); letter-spacing: .06em;
}
.sep { color: var(--purple); margin-inline: 6px; }
.nw { white-space: nowrap; }
.hero__lede { margin-top: 18px; max-width: 36rem; color: var(--text-2); font-size: 1.1rem; }
.hero__lede strong { color: var(--text); font-weight: 600; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; }
.icon-btn {
	display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
	color: var(--text-2); background: rgba(13, 22, 38, .7); border: 1px solid var(--line-strong);
	transition: color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.icon-btn svg { width: 20px; height: 20px; fill: currentColor; }
.icon-btn:hover { color: var(--cyan); border-color: var(--cyan); transform: translateY(-2px); box-shadow: 0 0 18px rgba(94, 231, 247, .3); }
.hero__email {
	display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 16px 0 12px; border-radius: 12px;
	font-family: var(--f-mono); font-size: .92rem; color: var(--text-2);
	background: rgba(13, 22, 38, .7); border: 1px solid var(--line-strong); cursor: pointer;
	transition: color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.hero__email svg { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--pink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hero__email-text { user-select: all; overflow-wrap: anywhere; }
.hero__email:hover { color: var(--text); border-color: var(--cyan); transform: translateY(-2px); box-shadow: 0 0 18px rgba(94, 231, 247, .2); }

.hero__visual { position: relative; justify-self: center; width: min(100%, 380px); }
.avatar { position: relative; aspect-ratio: 1; border-radius: 50%; padding: 10px; }
.avatar__ring {
	position: absolute; inset: 0; border-radius: 50%;
	background: conic-gradient(from 0deg, #22d3ee, #8b5cf6, #ec4899, #22d3ee);
	animation: spin 10s linear infinite;
	box-shadow: 0 0 60px rgba(139, 92, 246, .45);
}
.avatar::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--bg); }
.avatar img { position: relative; z-index: 1; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: 50% 25%; }
.tag {
	position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
	padding: 8px 14px; border-radius: 999px; white-space: nowrap;
	background: rgba(8, 18, 33, .9); border: 1px solid var(--line-strong);
	font-family: var(--f-mono); font-size: .8rem; color: var(--text);
	backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
	box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .6);
	animation: bob 6s ease-in-out infinite;
}
.tag--a { top: 8%; left: -14%; }
.tag--b { top: 52%; right: -12%; animation-delay: -2s; }
.tag--c { bottom: 2%; left: -4%; animation-delay: -4s; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.dot--pink { background: var(--pink); box-shadow: 0 0 10px var(--pink); }
.dot--purple { background: var(--purple); box-shadow: 0 0 10px var(--purple); }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (max-width: 900px) {
	.hero { grid-template-columns: 1fr; }
	.hero__visual { order: -1; width: min(64%, 300px); }
}
@media (max-width: 480px) {
	.tag { font-size: .72rem; padding: 6px 10px; }
	.tag--a { left: -16%; }
	.tag--b { right: -18%; }
	.tag--c { left: -6%; }
}

/* ---------- sections ---------- */
.section { padding-block: clamp(56px, 8vw, 100px); }
.section__head { margin-bottom: clamp(28px, 4vw, 44px); }
.kicker { font-family: var(--f-mono); color: var(--cyan); font-size: .95rem; letter-spacing: .06em; }
.section__title {
	margin-top: 8px; font-family: var(--f-display); font-weight: 700;
	font-size: clamp(1.7rem, 3.6vw, 2.6rem); letter-spacing: .04em; text-transform: uppercase;
}
.panel {
	background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
	backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
	transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.panel:hover { border-color: var(--line-strong); }

/* profile */
.profile { display: grid; gap: clamp(28px, 4vw, 44px); }
.profile__intro { display: grid; grid-template-columns: minmax(220px, 320px) 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.avatar--about { width: 100%; }
.avatar--about img { object-position: 50% 18%; }
.avatar--about .avatar__ring { animation-direction: reverse; }
.profile__text { font-size: 1.12rem; color: var(--text-2); line-height: 1.85; max-width: 44rem; }
.focus { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.focus__item { display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; padding: 18px 20px; }
.focus__item:hover { transform: translateX(4px); }
.focus__item svg {
	grid-row: span 2; width: 48px; height: 48px; padding: 11px; border-radius: 12px;
	fill: none; stroke: var(--cyan); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
	background: rgba(94, 231, 247, .08); border: 1px solid rgba(94, 231, 247, .2);
}
.focus__item:nth-child(2) svg { stroke: var(--pink); background: rgba(244, 114, 182, .08); border-color: rgba(244, 114, 182, .22); }
.focus__item:nth-child(3) svg { stroke: var(--purple); background: rgba(167, 139, 250, .08); border-color: rgba(167, 139, 250, .22); }
.focus__item h3 { font-size: 1.05rem; font-weight: 700; align-self: end; }
.focus__item p { color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) { .focus { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
	.profile__intro { grid-template-columns: 1fr; justify-items: center; }
	.avatar--about { width: min(70%, 280px); }
}

/* timeline */
.timeline { position: relative; display: grid; gap: 22px; padding-left: 34px; }
.timeline::before {
	content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 2px;
	background: linear-gradient(180deg, var(--cyan), var(--purple), var(--pink));
	opacity: .55; border-radius: 2px;
}
.timeline__item { position: relative; }
.timeline__item::before {
	content: ""; position: absolute; left: -31px; top: 28px; width: 14px; height: 14px; border-radius: 50%;
	background: var(--bg); border: 2px solid var(--cyan); box-shadow: 0 0 12px rgba(94, 231, 247, .6);
}
.timeline__item:nth-child(2)::before { border-color: var(--blue); }
.timeline__item:nth-child(3)::before { border-color: var(--purple); box-shadow: 0 0 12px rgba(167, 139, 250, .6); }
.timeline__item:nth-child(4)::before { border-color: var(--pink); box-shadow: 0 0 12px rgba(244, 114, 182, .6); }
.job { padding: clamp(20px, 3vw, 28px); }
.job__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 10px 20px; }
.job__head h3 { font-size: 1.25rem; font-weight: 700; }
.job__org { margin-top: 2px; color: var(--cyan); font-weight: 500; }
.chip-date {
	display: inline-block; padding: 5px 12px; border-radius: 999px; white-space: nowrap;
	font-family: var(--f-mono); font-size: .82rem; color: var(--purple);
	background: rgba(167, 139, 250, .1); border: 1px solid rgba(167, 139, 250, .25);
}
.job__list { margin-top: 16px; display: grid; gap: 9px; }
.job__list li { position: relative; padding-left: 22px; color: var(--text-2); }
.job__list li::before { content: "▹"; position: absolute; left: 0; top: 0; color: var(--cyan); }

/* project */
.project {
	position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 48px);
	padding: clamp(22px, 4vw, 44px); border-radius: 24px;
	background: linear-gradient(var(--panel-solid), var(--panel-solid)) padding-box, var(--grad) border-box;
	border: 1px solid transparent;
	box-shadow: 0 30px 80px -40px rgba(139, 92, 246, .55);
}
.project__shot {
	grid-column: 1 / -1; margin: 0; border-radius: 16px; overflow: hidden;
	border: 1px solid var(--line-strong); box-shadow: 0 20px 50px -24px rgba(0, 0, 0, .8);
}
.project__shot img { width: 100%; height: auto; aspect-ratio: 1200 / 628; object-fit: cover; transition: transform .6s ease; }
.project:hover .project__shot img { transform: scale(1.015); }
.project + .project { margin-top: 32px; }
.project__badges { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.badge {
	padding: 5px 12px; border-radius: 999px; font-family: var(--f-mono); font-size: .82rem; letter-spacing: .06em; text-transform: uppercase;
	color: var(--pink); background: rgba(244, 114, 182, .1); border: 1px solid rgba(244, 114, 182, .3);
}
.project__name { margin-top: 18px; font-family: var(--f-display); font-weight: 900; font-size: clamp(2.4rem, 5vw, 3.4rem); letter-spacing: .04em; }
.project__full { margin-top: 8px; font-size: 1.1rem; color: var(--text); font-weight: 500; max-width: 34rem; }
.project__role { margin-top: 12px; font-family: var(--f-mono); color: var(--muted); font-size: .95rem; }
.project__role strong { color: var(--cyan); font-weight: 400; }
.project .chips { margin-top: 22px; }
.project__repos { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn--repo svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
@media (max-width: 480px) { .btn--repo { width: 100%; } }

.project__flow { align-self: center; padding: 22px; border-radius: var(--radius); background: rgba(5, 11, 20, .6); border: 1px solid var(--line); }
.flow__title { font-family: var(--f-mono); font-size: .85rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.flow { display: grid; gap: 14px; counter-reset: f; }
.flow li {
	position: relative; display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center;
	padding: 12px 14px 12px 50px; border-radius: 12px; background: rgba(13, 22, 38, .9); border: 1px solid var(--line);
	counter-increment: f;
}
.flow li::before {
	content: counter(f, decimal-leading-zero); position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
	font-family: var(--f-mono); font-size: .85rem; color: var(--cyan);
}
.flow li + li::after {
	content: ""; position: absolute; left: 22px; top: -15px; width: 2px; height: 14px;
	background: linear-gradient(var(--cyan), var(--purple));
}
.flow__name { font-weight: 600; }
.flow__desc { grid-column: 1; color: var(--muted); font-size: .88rem; }
.flow__tech {
	grid-column: 2; grid-row: 1 / span 2; font-family: var(--f-mono); font-size: .78rem;
	color: var(--pink); padding: 3px 9px; border-radius: 6px; background: rgba(244, 114, 182, .1);
}
@media (max-width: 900px) { .project { grid-template-columns: 1fr; } }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
	padding: 7px 14px; border-radius: 10px; font-size: .93rem; color: var(--text);
	background: rgba(94, 231, 247, .06); border: 1px solid rgba(94, 231, 247, .2);
	transition: background-color .2s ease, border-color .2s ease;
}
.chips li:hover { background: rgba(94, 231, 247, .12); border-color: rgba(94, 231, 247, .45); }
.chips--pink li { background: rgba(244, 114, 182, .06); border-color: rgba(244, 114, 182, .22); }
.chips--pink li:hover { background: rgba(244, 114, 182, .12); border-color: rgba(244, 114, 182, .45); }

/* skills */
.skills { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.skills__panel { padding: clamp(22px, 3vw, 30px); }
.skills__panel--tools { grid-column: 1 / -1; }
.skills__head { margin-bottom: 20px; }
.skills__panel h3 { display: flex; align-items: center; gap: 12px; font-size: 1.2rem; font-weight: 700; }
.skills__icon {
	display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 10px;
	font-family: var(--f-mono); font-size: .95rem; color: var(--cyan);
	background: rgba(94, 231, 247, .08); border: 1px solid rgba(94, 231, 247, .22);
}
.skills__icon--pink { color: var(--pink); background: rgba(244, 114, 182, .08); border-color: rgba(244, 114, 182, .24); }
.skills__icon--purple { color: var(--purple); background: rgba(167, 139, 250, .08); border-color: rgba(167, 139, 250, .24); font-size: 1.15rem; }

.tools { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.tool {
	position: relative; display: grid; justify-items: center; align-content: start; gap: 4px; text-align: center;
	flex: 0 0 calc((100% - 5 * 12px) / 6); min-width: 0;
	padding: 20px 10px 16px; border-radius: 14px;
	background: rgba(5, 11, 20, .55); border: 1px solid var(--line);
	transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background-color .25s ease;
}
.tool img { width: 44px; height: 44px; margin-bottom: 8px; transition: transform .25s ease, filter .25s ease; }
.tool__name { font-weight: 600; white-space: nowrap; }
.tool__cat { font-family: var(--f-mono); font-size: .75rem; color: var(--muted); letter-spacing: .04em; }
.tool:hover {
	transform: translateY(-4px); border-color: rgba(94, 231, 247, .45); background: rgba(13, 22, 38, .9);
	box-shadow: 0 14px 30px -16px rgba(94, 231, 247, .45);
}
.tool:hover img { transform: scale(1.08); filter: drop-shadow(0 0 10px rgba(94, 231, 247, .35)); }

.practice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.practice li {
	display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px;
	background: rgba(167, 139, 250, .06); border: 1px solid rgba(167, 139, 250, .2);
	font-size: .95rem; line-height: 1.35;
	transition: border-color .2s ease, background-color .2s ease;
}
.practice li:hover { border-color: rgba(167, 139, 250, .5); background: rgba(167, 139, 250, .12); }
.practice svg { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--purple); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 1000px) { .tool { flex-basis: calc((100% - 3 * 12px) / 4); } }
@media (max-width: 900px) { .skills { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .tool { flex-basis: calc((100% - 2 * 12px) / 3); } }
@media (max-width: 480px) {
	.tool { flex-basis: calc((100% - 12px) / 2); padding-inline: 6px; }
	.tool__name { font-size: .9rem; }
	.practice { grid-template-columns: 1fr; }
}

/* education & certs */
.edu-stack { display: grid; gap: 22px; }
.edu {
	display: grid; grid-template-columns: 120px 1.3fr 1fr; gap: clamp(20px, 3vw, 36px); align-items: center;
	padding: clamp(22px, 3vw, 32px);
}
.edu__logo {
	width: 120px; height: 120px; border-radius: 50%; object-fit: cover; background: #fff;
	border: 2px solid rgba(94, 231, 247, .35); box-shadow: 0 0 28px rgba(236, 72, 153, .25);
}
.edu h3 { margin-top: 10px; font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 700; }
.edu__place { color: var(--muted); margin-top: 2px; }
.edu__degree { margin-top: 10px; color: var(--cyan); font-weight: 500; }
.edu__honor { align-self: stretch; display: grid; align-content: center; padding: 18px 20px; border-radius: 14px; background: rgba(167, 139, 250, .08); border: 1px solid rgba(167, 139, 250, .22); }
.edu__honor-label { font-family: var(--f-mono); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--purple); }
.edu__honor p { margin-top: 4px; color: var(--text-2); }

.certs { padding: clamp(22px, 3vw, 32px); }
.certs__head { margin-bottom: 6px; }
.certs__head h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); font-weight: 700; }
.certs__sub {
	display: flex; align-items: center; gap: 10px; margin: 22px 0 14px;
	font-family: var(--f-mono); font-weight: 400; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2);
}
.certs__date { font-family: var(--f-mono); font-size: .85rem; color: var(--cyan); }
.certs__by { font-family: var(--f-mono); font-size: .8rem; color: var(--muted); }
.cert-card__name { font-size: 1.02rem; font-weight: 600; line-height: 1.35; color: var(--text); }

.cert-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cert-card {
	display: flex; flex-direction: column; border-radius: 16px; overflow: hidden;
	background: rgba(5, 11, 20, .55); border: 1px solid var(--line);
	transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.cert-card:hover { transform: translateY(-4px); border-color: rgba(94, 231, 247, .4); box-shadow: 0 18px 40px -22px rgba(94, 231, 247, .45); }
.cert-card__thumb {
	position: relative; display: block; width: 100%; padding: 12px; border: 0; cursor: zoom-in;
	background: linear-gradient(135deg, rgba(34, 211, 238, .12), rgba(139, 92, 246, .12), rgba(236, 72, 153, .1));
	border-bottom: 1px solid var(--line);
}
.cert-card__thumb img { width: 100%; height: auto; aspect-ratio: 1056 / 816; object-fit: cover; border-radius: 8px; box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .7); background: #fff; }
.cert-card__zoom {
	position: absolute; inset: 12px; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 8px;
	background: rgba(5, 11, 20, .72); color: var(--text); font-family: var(--f-mono); font-size: .85rem;
	opacity: 0; transition: opacity .2s ease;
}
.cert-card__zoom svg { width: 18px; height: 18px; fill: none; stroke: var(--cyan); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cert-card__thumb:hover .cert-card__zoom, .cert-card__thumb:focus-visible .cert-card__zoom { opacity: 1; }
.cert-card__body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 16px 18px 18px; }
.cert-card__body .certs__by { margin-top: auto; padding-top: 6px; }

.comps { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.comp {
	display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px;
	padding: 16px 18px; border-radius: 14px; background: rgba(5, 11, 20, .55); border: 1px solid var(--line);
	transition: border-color .2s ease;
}
.comp:hover { border-color: var(--line-strong); }
.comp__icon {
	display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
	background: rgba(94, 231, 247, .08); border: 1px solid rgba(94, 231, 247, .22);
}
.comp__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--cyan); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.comp__icon--pink { background: rgba(244, 114, 182, .08); border-color: rgba(244, 114, 182, .24); }
.comp__icon--pink svg { stroke: var(--pink); }
.comp__body { display: grid; gap: 2px; min-width: 0; }
.comp__status {
	justify-self: end; padding: 5px 12px; border-radius: 999px; font-family: var(--f-mono); font-size: .78rem; white-space: nowrap;
	color: var(--pink); background: rgba(244, 114, 182, .1); border: 1px solid rgba(244, 114, 182, .3);
}
.comp__status--live { color: var(--cyan); background: rgba(94, 231, 247, .08); border-color: rgba(94, 231, 247, .3); }

/* lightbox */
.lightbox {
	position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
	padding: 64px 16px 24px; background: rgba(3, 7, 13, .9); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.lightbox__fig { display: grid; gap: 12px; justify-items: center; max-width: min(1100px, 100%); }
.lightbox__fig img { max-width: 100%; max-height: 78vh; width: auto; border-radius: 10px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .9); }
.lightbox__fig figcaption { font-family: var(--f-mono); font-size: .9rem; color: var(--text-2); text-align: center; }
.lightbox__close {
	position: absolute; top: calc(14px + env(safe-area-inset-top, 0px)); right: 16px; width: 44px; height: 44px; border-radius: 50%;
	border: 1px solid var(--line-strong); background: var(--panel-solid); color: var(--text); font-size: 1.6rem; line-height: 1; cursor: pointer;
}
.lightbox__close:hover { border-color: var(--cyan); color: var(--cyan); }

@media (max-width: 1000px) {
	.edu { grid-template-columns: 100px 1fr; }
	.edu__logo { width: 100px; height: 100px; }
	.edu__honor { grid-column: 1 / -1; }
	.cert-cards { grid-template-columns: repeat(2, 1fr); }
	.comps { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
	.cert-cards { grid-template-columns: 1fr; }
	.comp { grid-template-columns: auto 1fr; }
	.comp__status { grid-column: 2; justify-self: start; }
	.edu { grid-template-columns: 1fr; }
	.edu__logo { width: 88px; height: 88px; }
}

/* contact */
.contact {
	display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center;
	padding: clamp(26px, 5vw, 56px); border-radius: 28px;
	background:
		radial-gradient(circle at 0% 0%, rgba(34, 211, 238, .16), transparent 45%),
		radial-gradient(circle at 100% 100%, rgba(236, 72, 153, .16), transparent 45%),
		var(--panel-solid);
	border: 1px solid var(--line-strong);
}
.contact__text p:last-child { margin-top: 14px; color: var(--text-2); max-width: 28rem; }
.contact__rows { display: grid; gap: 4px; }
.contact__row {
	display: grid; grid-template-columns: 4.5rem 1fr auto; align-items: center; gap: 12px;
	min-height: 60px; padding: 10px 0; border-bottom: 1px solid var(--line);
}
.contact__label { font-family: var(--f-mono); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact__value { font-weight: 600; font-size: 1.05rem; overflow-wrap: anywhere; user-select: all; }
.contact__email { padding: 0; border: 0; background: none; color: var(--text); text-align: left; cursor: pointer; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: color .2s ease, text-decoration-color .2s ease; }
.contact__email:hover { color: var(--cyan); text-decoration-color: currentColor; }
.contact__social { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 18px; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .contact__row { grid-template-columns: 1fr auto; } .contact__label { grid-column: 1 / -1; } }

/* email app chooser */
/* footer */
.footer { border-top: 1px solid var(--line); background: rgba(5, 11, 20, .8); }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 24px; font-family: var(--f-mono); font-size: .9rem; color: var(--muted); }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--cyan); }

/* reveal (content is visible by default; JS adds a gentle entrance below the fold) */
.reveal { transition: opacity .6s ease, transform .6s ease; }
.reveal.is-pending { opacity: 0; transform: translateY(18px); }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	html { scroll-behavior: auto; }
	#tech-canvas { display: none; }
}

.dl-icon { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
